I have just made some chages to my config, completely unrelated to ESPHome.
Restarted hassio and it indeed restarts, but with the below errors in the log.
And that particular esphome device is unavailable (although the ESPHome dashboard shows it as online) and does not ‘work’…(A sonoff basic powering some dumb lights)
I have looked in /config/.storage/core.config_entries
and do not see any duplicates anywhere.
Now, something i did do to this device a while back…
Originally i flashed it named as something else “sonoff_basic_01” whilst testing and ‘learning’ esphome.
Then once id decided on its use, reflased OTA changing the name, although esphome dash reports . Full path: /config/esphome/sonoff_basic_01.yaml
device is now named "sonoff_kitchen_cupboard_lights "
Any tips or help as to where to look would be great
hassio log
2020-04-15 13:04:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: binary_sensor.sonoff_kitchen_cupboard_lights. Platform esphome does not generate unique IDs
2020-04-15 13:04:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: switch.sonoff_kitchen_cupboard_lights. Platform esphome does not generate unique IDs
2020-04-15 13:04:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.sonoff_kitchen_cupboard_lights_signal. Platform esphome does not generate unique IDs
2020-04-15 13:04:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.sonoff_kitchen_cupboard_lights_uptime. Platform esphome does not generate unique IDs