I created this macro, called toggleav, which is supposed to Toggle Power for the devices based on room (i.e. don't toggle AVR if in Living Room)
Macro|
If|isEQ##{{activeroom_name_smartremote1}}##Living Room##Macro|
AV|1~Power~Toggle!
AV|15~Power~Toggle!
SetVariable|testclient~WTF!
if|isEQ##{{activeroom_name_smartremote1}}##Theater##Macro|
AV|1~Power~Toggle!
AV|5~Power~Toggle!
AV|15~Power~Toggle!
SetVariable|testclient~{{activeroom_name_smartremote1}}!
// fini
When I run it from Living Room, it toggles everything as if the room is Theater, even though the active room is Living Room, and testclient = Living Room. If I run it from Theater, it works properly.
Can anyone see anything wrong with this macro?
Thanks,
Mark
Please Log in or Create an account to join the conversation.