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.82k stars 30.08k forks source link

zwave_js.refresh_value tries to recreate an already existing entity #127059

Open pdobrien3 opened 2 hours ago

pdobrien3 commented 2 hours ago

The problem

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:761
integration: Sensor (documentation, issues)
First occurred: 7:51:15 PM (38 occurrences)
Last logged: 8:09:15 PM

Platform zwave_js does not generate unique IDs. ID 3479161084.182-112-0-32 already exists - ignoring sensor.dishwasher_internal_temperature

running the following causes the error

 action:
    - action: zwave_js.refresh_value
      data:
        entity_id:
          - sensor.dishwasher_internal_temperature

seems related to https://github.com/home-assistant/core/pull/125326/

What version of Home Assistant Core has the issue?

2024.10.0b4

What was the last working version of Home Assistant Core?

2024.9.3

What type of installation are you running?

Home Assistant Container

Integration causing the issue

ZWave-JS-UI

Link to integration documentation on our website

https://rc.home-assistant.io/integrations/zwave_js

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 hours ago

Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zwave_js` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zwave_js` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zwave_js documentation zwave_js source (message by IssueLinks)