|
发表于 2021-1-22 23:56:53
|
显示全部楼层
Logger: homeassistant.components.climate
Source: custom_components/xiaomi_miot/climate.py:92
Integration: 空调 (documentation, issues)
First occurred: 下午11:43:37 (2 occurrences)
Last logged: 下午11:43:37
Error while setting up xiaomi_miot platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/xiaomi_miot/climate.py", line 36, in async_setup_entry
await async_setup_platform(hass, config, async_add_entities)
File "/config/custom_components/xiaomi_miot/climate.py", line 55, in async_setup_platform
entities.append(MiotClimateEntity(cfg, srv))
File "/config/custom_components/xiaomi_miot/climate.py", line 92, in __init__
self._prop_temperature = self._environment.get_property('temperature')
AttributeError: 'NoneType' object has no attribute 'get_property' |
|