I have the following operation against the hard power button on my SmartRemote:
Code:
Macro|power-off.{{activeroom_{{clientname}}}}!clientcmd|home
I'm only using the living room at the moment so the macro that gets run is "power-off.livingroom"
In that macro I switch to a count down scene and wait for the TV to be completely off before switching off the amp and finishing:
Code:
...
...
// TV!
AV|{{livingroom_display_id}}~Power~Off!
// Wait for TV to be fully off!
// Start transition animation!
//!
LoadScene|my-transition-off!
Pause|6.0!
SetVariable|activesource_sourcename_smartremote~None!
// Amp!
avamp|power-off!
What used to happen is that the remote would fire the "power-off.livingroom" macro, everything would turn off, then the remote would go back to the homescreen due to the "clientcmd|home" command.
Now the remote stays on the countdown transition screen. I wondering if something has changed and the running of the power off macro now no longer blocks the command on the remote so it's trying to go to the home screen immediately but then the power off macro sends it to the transition count down scene. In order for the remote to go back to the home scene I've had to add this to the end of the power off macro:
Code:
...
...
// Amp!
avamp|power-off!
// Send remote back to home!
LoadScene|index!
So has something changed as to whether macros are blocking or non-blocking?