Do an advanced search for Power failure it should turn up so info on resetting things after a power outage!
Maybe even supply a sample macro!
I found this:
Set up an appliance module (for example)
that you have on all the time (lets call it
A16). have a macro that checks A16 every
15 minutes to see if it is on. If A16 is
on, do nothing.
If it is off (the power has failed), so run
your after power failure macro to turn all
of your things back on, then turn A16 on.
But.................I am not sure this will work.