I have struggled with Home Assistant restarts for quite some time. One of the issues I see is that MQTT switches show lightning bolts until they are power cycled. Here are some links to address that issue:
Sliders revert back to lightning bolts after RestartFix Random Switching in Tasmota by Adjusting Retain SettingsEnd random “ghost switching” for good by fixing your retain settings in tasmota and home assistant
Comment feed for this post