home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.11k stars 29.79k forks source link

Reports of "Entity id already exists" using new OZW integration #36334

Closed rickk88 closed 4 years ago

rickk88 commented 4 years ago

The problem

Since upgrading to version 0.3 of the OZW Beta addon there are some reports in my system regarding duplicate entitiy id's. Reverting to 0.2 fixes it but that means missing the OZW Admin connection.

Environment

Problem-relevant configuration.yaml


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

homeassistant:
  customize: !include customize.yaml

automation: !include automations.yaml
#bosch: !include bosch.yaml
#buderus: !include buderus.yaml
group: !include groups.yaml
#homekit: !include homekit.yaml
input_select: !include input_select.yaml
recorder: !include recorder.yaml
scene: !include scenes.yaml
script: !include scripts.yaml
sensor: !include sensors.yaml
switch: !include switch.yaml
# Text to speech
tts:
  - platform: google_translate
#zwave: !include zwave.yaml
zone: !include zone.yaml

Traceback/Error logs

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:436
Integration: Sensor (documentation, issues)
First occurred: May 31, 2020, 2:09:53 PM (12 occurrences)
Last logged: 12:41:03 AM

Entity id already exists - ignoring: sensor.backdoor_electric_a_3. Platform ozw does not generate unique IDs
Entity id already exists - ignoring: sensor.hall_electric_kwh_9. Platform ozw does not generate unique IDs
Entity id already exists - ignoring: sensor.hall_electric_w_9. Platform ozw does not generate unique IDs
Entity id already exists - ignoring: sensor.hall_electric_v_9. Platform ozw does not generate unique IDs
Entity id already exists - ignoring: sensor.hall_electric_a_9. Platform ozw does not generate unique IDs

Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:436
Integration: Switch (documentation, issues)
First occurred: May 31, 2020, 2:09:45 PM (6 occurrences)
Last logged: 12:40:56 AM

Entity id already exists - ignoring: switch.diningroom_switch_2. Platform ozw does not generate unique IDs
Entity id already exists - ignoring: switch.backdoor_switch_3. Platform ozw does not generate unique IDs
Entity id already exists - ignoring: switch.toilet_landing_switch_10. Platform ozw does not generate unique IDs
Entity id already exists - ignoring: switch.study_rick_switch_11. Platform ozw does not generate unique IDs

Additional information

The devices/entities/switches mentioned in the logs are not working at the moment, they are greyed out. Having this tested multiple times (reverting to OZW 0.2 and then back to OZW 0.3) the devices/entities that have issues are not the same. Sometimes it's 2 devices, sometimes 3.

If you need any other information, let me know.

probot-home-assistant[bot] commented 4 years ago

ozw documentation ozw source (message by IssueLinks)

probot-home-assistant[bot] commented 4 years ago

Hey there @cgarwood, @marcelveldt, @MartinHjelmare, mind taking a look at this issue as its been labeled with a integration (ozw) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

marcelveldt commented 4 years ago

Please wait for the next version of the OZW addon, the current version does not store data persistently, causing weird issues. A big overhaul of the addon is coming up.

frenck commented 4 years ago

The 0.4.1 version of the add-on is now available

MartinHjelmare commented 4 years ago

Closing this since it's been a while since the first report and the add-on has been updated multiple times since then. If you're still experiencing this issue please report back.

christian1986 commented 4 years ago

Hi! Still an issue:

Entity id already exists - ignoring: sensor.general_thermostat_v2_electric_kwh_13. Platform ozw does not generate unique IDs Entity id already exists - ignoring: sensor.general_thermostat_v2_electric_w_7. Platform ozw does not generate unique IDs