I have a weird behaviour that when I reboot my supervisor (TrueNAS Scale) or update the HA docker container that automations with physical switches do not work.
I first have to disable the automation via GUI and then enable them and the switch works again as intended. I have to do that for each affected automation individually.
Previously that was ok-ish because the GUI had an iPhone-like toggle button but they changed the GUI so now much more steps are involved (right click > disable, right click > enable … for each).
I was wondering how some sort of (Boot/Start) script would look like that first disables all (!) automations and then enables them right after?