Re: How to get status of a group
Posted: Tuesday 02 June 2020 9:19
Hi.
The right way to check the status of a group or scene is, in lua script, is:
The right way to check the status of a group or scene is, in lua script, is:
Code: Select all
if (otherdevices_scenesgroups['AlarmAway']=='On') then -- if the group "AlarmAway" is active
commandArray['Group:AlarmDay']='Off' -- turn off the group "AlarmAway"
end