wtedy mam
Logger: homeassistant.components.binary_sensor
Source: custom_components/extalife/binary_sensor.py:98
Integration: Sensor binarny (documentation, issues)
First occurred: 11:06:32 (2 occurrences)
Last logged: 11:06:32
Error adding entities for domain binary_sensor with platform extalife
Error while setting up extalife platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 782, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 539, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 579, in _async_write_ha_state
self.device_state_attributes is not None
File "/config/custom_components/extalife/binary_sensor.py", line 98, in device_state_attributes
attr.update({"sync_time": data.get("sync_time")})
AttributeError: 'NoneType' object has no attribute 'update'
i tak dla binary_sensor, sensors, climate i switch.