Hi
I keep getting my automations stopping working due to this error:
and Ive no idea what to do about it - any help would be appreciated.
Logger: pyShelly
Source: helpers/entity.py:695
First occurred: 9:46:56 PM (2174 occurrences)
Last logged: 10:41:47 PM
Error update device status: E8DB84D3D257-2 SHDM-2, ‘NoneType’ object has no attribute ‘add_job’, Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/pyShelly/block.py”, line 290, in _update_status_info dev.raise_updated(force_update_devices) File “/usr/local/lib/python3.9/site-packages/pyShelly/base.py”, line 46, in raise_updated callback(self) File “/config/custom_components/shelly/device.py”, line 58, in _updated self._update_ha_state() File “/config/custom_components/shelly/device.py”, line 51, in _update_ha_state self.schedule_update_ha_state(True) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 695, in schedule_update_ha_state self.hass.add_job(self.async_update_ha_state(force_refresh)) AttributeError: ‘NoneType’ object has no attribute ‘add_job’
Error receiving CoAP UDP, ‘NoneType’ object has no attribute ‘add_job’, Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/pyShelly/coap.py”, line 187, in _loop self._root.update_block(device_id, device_type, File “/usr/local/lib/python3.9/site-packages/pyShelly/init.py”, line 359, in update_block block.update_coap(data, ipaddr) File “/usr/local/lib/python3.9/site-packages/pyShelly/block.py”, line 114, in update_coap self.raise_updated() File “/usr/local/lib/python3.9/site-packages/pyShelly/base.py”, line 46, in raise_updated callback(self) File “/config/custom_components/shelly/block.py”, line 73, in _updated self._update_ha_state() File “/config/custom_components/shelly/block.py”, line 65, in _update_ha_state self.schedule_update_ha_state(True) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 695, in schedule_update_ha_state self.hass.add_job(self.async_update_ha_state(force_refresh)) AttributeError: ‘NoneType’ object has no attribute ‘add_job’
Error update device status: E8DB84D78730 SHDM-2, ‘NoneType’ object has no attribute ‘add_job’, Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/pyShelly/block.py”, line 290, in _update_status_info dev.raise_updated(force_update_devices) File “/usr/local/lib/python3.9/site-packages/pyShelly/base.py”, line 46, in raise_updated callback(self) File “/config/custom_components/shelly/device.py”, line 58, in _updated self._update_ha_state() File “/config/custom_components/shelly/device.py”, line 51, in _update_ha_state self.schedule_update_ha_state(True) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 695, in schedule_update_ha_state self.hass.add_job(self.async_update_ha_state(force_refresh)) AttributeError: ‘NoneType’ object has no attribute ‘add_job’
Error update device status: E8DB84D78730-1 SHDM-2, ‘NoneType’ object has no attribute ‘add_job’, Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/pyShelly/block.py”, line 290, in _update_status_info dev.raise_updated(force_update_devices) File “/usr/local/lib/python3.9/site-packages/pyShelly/base.py”, line 46, in raise_updated callback(self) File “/config/custom_components/shelly/device.py”, line 58, in _updated self._update_ha_state() File “/config/custom_components/shelly/device.py”, line 51, in _update_ha_state self.schedule_update_ha_state(True) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 695, in schedule_update_ha_state self.hass.add_job(self.async_update_ha_state(force_refresh)) AttributeError: ‘NoneType’ object has no attribute ‘add_job’
Error update device status: E8DB84D78730-2 SHDM-2, ‘NoneType’ object has no attribute ‘add_job’, Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/pyShelly/block.py”, line 290, in _update_status_info dev.raise_updated(force_update_devices) File “/usr/local/lib/python3.9/site-packages/pyShelly/base.py”, line 46, in raise_updated callback(self) File “/config/custom_components/shelly/device.py”, line 58, in _updated self._update_ha_state() File “/config/custom_components/shelly/device.py”, line 51, in _update_ha_state self.schedule_update_ha_state(True) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 695, in schedule_update_ha_state self.hass.add_job(self.async_update_ha_state(force_refresh)) AttributeError: ‘NoneType’ object has no attribute ‘add_job’
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/pyShelly/init.py”, line 384, in _update_loop
block.check_available()
File “/usr/local/lib/python3.9/site-packages/pyShelly/block.py”, line 197, in check_available
self.force_all_update()
File “/usr/local/lib/python3.9/site-packages/pyShelly/block.py”, line 192, in force_all_update
dev.raise_updated(True)
File “/usr/local/lib/python3.9/site-packages/pyShelly/base.py”, line 46, in raise_updated
callback(self)
File “/config/custom_components/shelly/device.py”, line 58, in _updated
self._update_ha_state()
File “/config/custom_components/shelly/device.py”, line 51, in _update_ha_state
self.schedule_update_ha_state(True)
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 695, in schedule_update_ha_state
self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: ‘NoneType’ object has no attribute ‘add_job’