Open roopesh opened 3 years ago
I get this error in the logs approximately every minute:
2021-05-20 20:56:04 ERROR (Poll status) [root] Uncaught thread exception Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 179, in update_status_information LOGGER.debug("Get status from %s %s", self.id, self.friendly_name()) File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 523, in friendly_name return self.type_name() + ' - ' + self.id TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' 2021-05-20 20:56:04 ERROR (Thread-13) [pyShelly] Error parsing MQTT message, Client, shellies/shelly-office-25/info Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pyShelly/mqtt.py", line 34, in receive_msg self._root.update_block(device_id, \ File "/usr/local/lib/python3.8/site-packages/pyShelly/__init__.py", line 303, in update_block block.update_mqtt(payload) File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 119, in update_mqtt self._update_status_info(status, SRC_MQTT_STATUS) File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 231, in _update_status_info friendly_name = self.friendly_name() File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 523, in friendly_name return self.type_name() + ' - ' + self.id TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Nothing I'm doing
No errors
Logs above
Environment
Describe the bug
I get this error in the logs approximately every minute:
Steps to Reproduce
Nothing I'm doing
Expected behavior
No errors
Screenshots
Traceback/Error logs
Logs above
Additional context