|
发表于 2025-9-5 05:43:57
|
显示全部楼层
大佬这个插件还会更新吗?我用了之后,传感器能出来,但是都是不可用状态。另外空调新风面板也都出不来。等等党在线等
日志记录器: homeassistant
来源: custom_components/lifesmart/binary_sensor.py:286
集成: LifeSmart (文档, 问题)
首次出现: 05:33:43 (9 次出现)
上次记录: 05:37:47
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1140, in _async_update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 981, in async_update_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1092, in __async_calculate_state
if extra_state_attributes := self.extra_state_attributes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/lifesmart/binary_sensor.py", line 286, in extra_state_attributes
return self._attrs
^^^^^^^^^^^
AttributeError: 'LifeSmartBinarySensor' object has no attribute '_attrs' |
|