homeassistant-powercalc: Device duplicated

System Health details

System Information

version core-2024.11.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.54-haos
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4986
Installed Version 2.0.1
Stage running
Available Repositories 1470
Downloaded Repositories 44
Home Assistant Cloud
logged_in true
subscription_expiration 1 janvier 2018 à 01:00
relayer_connected false
relayer_region null
remote_enabled true
remote_connected false
alexa_enabled false
google_enabled true
cloud_ice_servers_enabled true
remote_server null
certificate_status null
instance_id d77ba04664464861834c4f3f566485ec
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 13.2
update_channel stable
supervisor_version supervisor-2024.11.4
agent_version 1.6.0
docker_version 27.2.0
disk_total 234.0 GB
disk_used 58.7 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons RPC Shutdown (2.5), Duck DNS (1.18.0), File editor (5.8.0), Terminal & SSH (9.15.0), CEC Scanner (3.0), ESPHome Device Compiler (2024.11.2), Mosquitto broker (6.4.1), Nginx Proxy Manager (1.0.1), Samba share (12.3.2), Z-Wave JS (0.9.0), Node-RED (18.1.1), LMS Lyrion Music Server(Formerly Logitech Media Server) (8.5.2.2), Zigbee2MQTT (1.41.0-1), Music Assistant Server (2.3.3), go2rtc (1.9.7), FTP (5.1.1), Z-Wave JS UI (3.17.0)
Dashboards
dashboards 10
resources 40
views 28
mode storage
Recorder
oldest_recorder_run 22 novembre 2024 à 17:07
current_recorder_run 1 décembre 2024 à 09:36
estimated_db_size 997.38 MiB
database_engine sqlite
database_version 3.45.3

Checklist

  • I have read the FAQ to see if there is a known solution to my problem.
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues…

Describe the issue

Everytime I reboot the machine with HAOS, a Fibaro device is detected again. If I add it, it’s duplicated, then triplicated, etc. image

Reproduction steps

  1. Connect a Fibaro FGWP102 with the Zwave official integration
  2. Reboot Home Assistant

Debug logs

Not relevant

Diagnostics dump or YAML config

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

Yes I check if a certain config entry already exists based on unique_id, if already found I skip discovery. However for newly setup config entries I always generate a new uuid now (that has been changed in 1.6.0, to allow users to setup multiple config entries for the same source entity) Beause of this change the discovery routine incorrectly assumes no config entry was setup yet for a given source entity, and initialized the discovery again.

I’m working on a change now to fix the issue. Will make sure to generate a unique_id for discovery flow which is consistent everytime, and also check on some other parameters to prevent discovery twice.

So far so good on v1.15.5 so I’d say that #2684 has likely been a cause - happy to jump on a beta build if you can find and fix the issue @bramstroker 😊

For me it would be new sensors less then 24hrs old - I could imagine that change potentially has a knock on in our cases - just trying v1.15.5