How can I make turn off when I am not home and this happens?
This is a really good one! Based on what I was able to find, the fact that the lights turn on may be on purpose! If the light loses power and then power is restored, it will turn on, so that it could work with normal light switches.
To turn off the lights when you are not home, you can just open your Alexa app, select “Devices” at the bottom of the screen, and then “Lights” (or “Switches”) at the top of the screen to turn each light off individually. If your lights have been grouped together for certain rooms, you can turn them on and off from the “Devices” screen, once you scroll down to “Groups”.
Hopefully that lets you address this quickly and easily!
-Daniel
Daniels answer is correct ( its a both a safety feature and allows you to overide the automation by switching the power off and on)
I’d add that I’ve set up a routine that switches off all the lights every night at 3am ( actually it staggers them off rather than all off at the same time – just incase someone is awake ).
I found that with power outages I was returning home from visits finding that the lights were all on – and could have been for days. A catch-all routine just made sure that they are switched off.
Depending on the frequency of power issues – another routine midday – when you don’t want any lights on might also work.
n.b. Devices can be in multiple groups – so i also have upstairs and downstairs groups setup in addition to individual rooms. AND a “security” group – so i can switch everything on/100% and bright white – if needed