def sensors(self):
sensors = []<EOL>try:<EOL><INDENT>while True:<EOL><INDENT>sensor = self.lib.tdSensor()<EOL>sensors.append(Sensor(lib=self.lib, **sensor))<EOL><DEDENT><DEDENT>except TelldusError as e:<EOL><INDENT>if e.error != const.TELLSTICK_ERROR_DEVICE_NOT_FOUND:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>return sensors<EOL>
Return all known sensors.

        :return: list of :class:`Sensor` instances.