1) Give a description of the problem
I have several Hue Lights in my kitchen area. Sink, Diningroom, Island, etc. I want all lights turned on to initially match any light that is currently on in the area. NOTE: Dumbing down the script for testing purposes. In the end there will be several different devices.
My initial question is can I apply the attributed stored in Local State to another device. I can only see the Restore command being used with the same device. Thinking I am going to need to used variables, but I thought I would ask.
Logic is below.
If light turns on AND no other light is on then
capture light state variables after 8 seconds (This allows the user time to find preferred light setting)
If light turns on AND other lights are already on
Set newly turned on lights to variables that where previously captured
2) What is the expected behaviour?
When one light is on in kitchen area and another light is turned on it will be set to the previous lights attributes.
3) What is happening/not happening?
new light is not turning on or receiving local state values
**4) Post a Green Snapshot of the piston![image|45x37]
5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)