I have a ESP32 controlling an addressable led strip as well as humidity/temperature sensors and pwm fans. Each del has it’s own segment, so an entity for each. That makes a total of about 150 HA entities for that device.
When I reboot the ESP32, the IDs of all sensors as well as the last 20 to 50 led strip segments get reseted to defaults, so I have to rename them back after every reboot. Is there a way to prevent this?
Yeah I wasn’t sure if it was more of the ESPHome or HA problem.
Defaults is the ID Home Assistant gives to an entity when it discovers it. For instance, HA gives entity ID “light.esp32_no7_pixel_led_001” to this entity:
I then rename light.esp32_no7_pixel_led_001 to light.this_is_the_custom_id_i_want_in_ha_for_pixel_led_001 in HA to get things organized.
When the devices reboots, I often lose many of those custom entity id’s (this_is_the_custom_id_i_want_in_ha_for_pixel_led_001 in this example) and they get renamed back to defaults (esp32_no7_pixel_led_001 in this example)
I have many of those partitions and it’s never the first one that gets renamed. Always the last few, to the last few dozens, as well as a few sensors such as fan speed, temperature and humidity sensors…