Hello,
I have this scripts
commandArray = {}
if devicechanged['Xiaomi Switch'] == 'Click' then
if otherdevices['Łazienka LED'] == 'Off' then
commandArray['Łazienka LED'] = 'On'
else
commandArray['Łazienka LED'] = 'Off'
end
end
return commandArray
It's turn on and off LED light in bathroom. I have new idea, becouse I have RGBW LED in bathroom want change switches to group.
Can you help me change this in my LUA scripts?
LUA scripts group
Moderator: leecollings
Who is online
Users browsing this forum: Google [Bot] and 0 guests