Open yanivf38 opened 2 weeks ago
Could you be triggering the factory reset button somehow?
Thank you @ssieb for the response. No, as the gates values are not reset.
I looked at the history and it looks like the values get reset when the node becomes back online from unavailable. I ran another test by unplugging/plugging the node and it seems to reset the value too, which was different than what I remembered.
As far as I can tell, the ld2410 values aren't saved on the ESP, so they wouldn't be affected by a factory reset.
I have added the below line to the esp8266 section that might have fixed it. Need to wait to wait few days to confirm.
restore_from_flash : True
Yes, that is necessary. I think without that, it will keep the values over a reboot, but not a power cycle.
The problem
I have 3 template/config numeric values in my yaml. That randomly get reset to their initial value. The reason I say randomly is because if manually reboot my node or ha the value remains but then randomly it gets reset. What is strange to me is that when the values get reset all 3 template/configs get the initial value
Which version of ESPHome has the issue?
2024.8.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.8.0
What platform are you using?
ESP8266
Board
d1-mini
Component causing the issue
template
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response