Background:
I'm using various scene controller capable devices to control a zigbee light. I can setup an event to very easily dim up the light as long as I hold the button down as follows:

The problem is that the 1 second interval is too slow. I'd like to trigger a script from an event so that I can set the dim interval in milliseconds. Any examples of a looping script that will dim a light until told to stop. Of course it will need to read the initial value of the light and then increment up (or down).
Thanks!
I'm using various scene controller capable devices to control a zigbee light. I can setup an event to very easily dim up the light as long as I hold the button down as follows:
The problem is that the 1 second interval is too slow. I'd like to trigger a script from an event so that I can set the dim interval in milliseconds. Any examples of a looping script that will dim a light until told to stop. Of course it will need to read the initial value of the light and then increment up (or down).
Thanks!
Comment