- 积分
- 437
- 金钱
- 374
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 437
- 金钱
- 374
- HASS币
- 0
|
发表于 2022-8-12 18:36:20
|
显示全部楼层
0.3.4版本代码报错
2022-08-12 18:33:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 519, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in _async_write_ha_state
attr = self.capability_attributes
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 224, in capability_attributes
supported_features = self.supported_features
File "/config/custom_components/midea_ac_lan/climate.py", line 56, in supported_features
return ClimateEntityFeature.TARGET_TEMPERATURE | \
NameError: name 'ClimateEntityFeature' is not defined
|
|