Hey, so I have a script that runs on an event that gets the light status and sets the opposite, eg if the status is 100 set it to 0 and vice versa.
My problem is that the status of the light takes a few seconds to update once changing state.
This prevents toggling the lights on and off within a space of about 5 seconds or so.
Any ideas?
Maybe even an option to poll the lights every .5 seconds would work...
My problem is that the status of the light takes a few seconds to update once changing state.
This prevents toggling the lights on and off within a space of about 5 seconds or so.
Any ideas?
Maybe even an option to poll the lights every .5 seconds would work...
Comment