Describe the bug
I'm using rename_entities. About 20% of the time that I start up (via reloading the YAML) I get an error that prevents the startup and makes the entities unavailable. Reloading a second time (without making any changes) fixes the issue.
I'm not doing anything edge-casey with the entity names. I set the entity IDs before my first-ever startup of IU and haven't renamed them.
To Reproduce
Steps to reproduce the behavior:
Create a config with rename_entities. (See my config file below.)
Startup IU
Reload the IU YAML ~10 times, looking at the logs / entities after each start.
On one of the reloads, you're likely to get an error log entry and entities will be Unavailable in dev tools.
Reload again. IU should start up normally. No error log entries.
Expected behavior
Should start up consistently each time.
Additional Info
I note that the log message reference c1_z1 and c1_m, which seems like the non-renamed entity names. I don't know where these IDs would have come from.
I checked for entities named c1 (by filtering in Dev Tools Current Entities screen for [c1_]) and there are no entities that are returned.
Irrigation Unlimited log file
I'm currently logging level INFO, so there are no debug logs from successful startup.
2024-08-30 10:51:53.190 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform irrigation_unlimited does not generate unique IDs. ID c1_m is already used by binary_sensor.irrigation_unlimited_frontyard_flowers_swv - ignoring binary_sensor.irrigation_unlimited_frontyard_flowers_swv
2024-08-30 10:51:53.190 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform irrigation_unlimited does not generate unique IDs. ID c1_z1 is already used by binary_sensor.irrigation_unlimited_frontyard_flowers_swv_flower_pots - ignoring binary_sensor.irrigation_unlimited_frontyard_flowers_swv_flower_pots
Describe the bug I'm using
rename_entities
. About 20% of the time that I start up (via reloading the YAML) I get an error that prevents the startup and makes the entities unavailable. Reloading a second time (without making any changes) fixes the issue.I'm not doing anything edge-casey with the entity names. I set the entity IDs before my first-ever startup of IU and haven't renamed them.
To Reproduce Steps to reproduce the behavior:
rename_entities
. (See my config file below.)Unavailable
in dev tools.Expected behavior Should start up consistently each time.
Additional Info I note that the log message reference
c1_z1
andc1_m
, which seems like the non-renamed entity names. I don't know where these IDs would have come from.I checked for entities named
c1
(by filtering in Dev Tools Current Entities screen for [c1_]) and there are no entities that are returned.Config YAML:
Irrigation Unlimited log file I'm currently logging level INFO, so there are no debug logs from successful startup.