core: Error: Platform iotawatt does not generate unique IDs.
The problem
As the title says, I see this error in my logs.
What version of Home Assistant Core has the issue?
core-2023.2.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
IoTaWatt
Link to integration documentation on our website
https://www.home-assistant.io/integrations/iotawatt
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:540
Integration: Sensor (documentation, issues)
First occurred: 16:51:03 (3 occurrences)
Last logged: 16:51:03
Platform iotawatt does not generate unique IDs. ID 8CCE4EF8DE4C-input-1-WattHours already exists - ignoring sensor.iotawatt_input_1_wh
Platform iotawatt does not generate unique IDs. ID 8CCE4EF8DE4C-input-2-WattHours already exists - ignoring sensor.iotawatt_input_2_wh
Platform iotawatt does not generate unique IDs. ID 8CCE4EF8DE4C-input-3-WattHours already exists - ignoring sensor.iotawatt_input_3_wh
### Additional information
_No response_
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 22 (1 by maintainers)
PR #91141 was opened. The change is super simple:
I don’t know if I’ll survive Home Assistant merge bureaucracy, but there it is.
Yeah, tried multiple ways to remove, and can’t seem to either. Including completely removing the integration and adding it back. I’ll watch here for updates.
Thanks @jyavenard that gives me a lot of context.
So, I see there is a lot of politics here.
In the meantime I need a working integration. I just published the code of the integration with the fix here if anyone needs it:
https://github.com/kuralabs/iotawatt_ha
To install, go to your config directory and execute the following command:
Would love it if there could be a solution to this item.