Turn ALL light on when alarm triggers. Then go back to precious state?

Im using Heimdall as a alarm in my home, and if the alarm goes off, all of my lights turns on(20+ z-wave). Is there any way to save their state before they turn on, to be able to reset all lamps to what state they were in before the alarm turned them on?

There is an app, zonememory.

thank you, i will look it up :slight_smile: