- 积分
- 709
- 金钱
- 603
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 709
- 金钱
- 603
- HASS币
- 0
|
发表于 2024-6-1 16:10:36
|
显示全部楼层
报的这个错误:
Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:361
Integration: 空调 (documentation, issues)
First occurred: 2024年5月31日 21:49:10 (4 occurrences)
Last logged: 2024年5月31日 23:20:20
Error while setting up hisense platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hisense/climate.py", line 26, in async_setup_entry
entity = HisenseACClimate(api)
^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hisense/climate.py", line 36, in __init__
ClimateEntityFeature.TURN_ON |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 784, in __getattr__
raise AttributeError(name) from None
AttributeError: TURN_ON
|
|