New Developer trying small mod to existing code

Ahh, another attempt at “fixing” The Flasher… :grin:
FWIW, here is the link to ST docs on Closure. IMO though, this endeavor is doomed to fail. I’ve been down this road before. It’s not that the app fails to restore state, but that cloud latency causes some of these short duration events to be “eaten.” I think the protocol-specific “delay” method described by @bravenel (below) is a better approach, and likely to be much more reliable:

For 100% reliability, consider replacing your smart switch with an Aeon microcontroller. These cost about the same as smart switches, but have a firmware controlled flash and strobe capability in addition to the normal on/off. The Aeon units can be used with a regular “dumb” switch or their own touch-panel, thus allowing you to re-purpose the smart switch being replaced.