|
本帖最后由 xiguaboy 于 2019-1-2 22:51 编辑
将一个小米的温湿度传感器,从一个网关下转移到另外一个网关下,结果HASS报错:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 344, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.pressure_158d000234815f. Platform xiaomi_aqara does not generate unique IDs
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 344, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.temperature_158d000234815f. Platform xiaomi_aqara does not generate unique IDs
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 344, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.humidity_158d000234815f. Platform xiaomi_aqara does not generate unique IDs
然后温湿度和气压显示也不正常,显示为“未知”,请问大神这种问题如何解决,原来的ID能删除吗?
2019.01.02 已解决:删除/homeassistant/.storage/core.entity_registry后仍然报错。判断问题出在小米的网关上。将传感器连接到原来的网关上,并在米家APP里删除掉这个传感器,问题解决。
|
|