In my main lighting screen you can toggle the devices on and off by pressing the button with the corresponding name. When you want more options to control the device you press the "options" button next to it. A pop up windows appears with the options.
I don't want to make a options screen for every device I control, (about 30 lights at the moment)
What I would like is that when I press the options button and the screen pops up, it 'knows' which device to control. To do this I wrote a script that fills a virual device with the 'device ref' of the the device which is to be controlled.
The big question is how to tell the buttons in the options screen that they need to control or track that certain device. (also a slider)
Any ideas how to do this "simple"
Thanks,
I don't want to make a options screen for every device I control, (about 30 lights at the moment)
What I would like is that when I press the options button and the screen pops up, it 'knows' which device to control. To do this I wrote a script that fills a virual device with the 'device ref' of the the device which is to be controlled.
The big question is how to tell the buttons in the options screen that they need to control or track that certain device. (also a slider)
Any ideas how to do this "simple"
Thanks,
Comment