Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

How do I find out the previous state of a switch?

$
0
0

@costy wrote:

I need this for a Livolo zigbee switch that in case of a power failure does not return to the “on” state, it goes to the “off” state. If I could use the previous state then I would create an automation which at restart HA if the previous state of the switch was “on” then the state of the switch would become “on”.
Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles