I've got a virtual device (it's actually the HUE of a Philips hue bulb) and it has a range of 0 to 65535.
But in an event, when I go to set the value of the virtual device a pulldown appears, showing the range of 0 to 999 and I can't select anything higher than 999.
If I change the control section to be a "textbox" that works for the main device display list. There's a textbox there that I can enter a number into, but again I am trying to configure the number via an event.
My workaround is to just add the high numbers I want to use as "single values" but it's not as convenient. Of course I know an html pulldown of 65K values is also not practical, so I think the best option would be to honor what the "control" setting is for events.
In other words, in an event, when I control the virtual device, instead of a pulldown have it be a textbox if that's what was selected in the options box under control type.
I hope these screenshots help explain. This example shows the 0-65535 range and my single value of 5376.
But in an event, when I go to set the value of the virtual device a pulldown appears, showing the range of 0 to 999 and I can't select anything higher than 999.
If I change the control section to be a "textbox" that works for the main device display list. There's a textbox there that I can enter a number into, but again I am trying to configure the number via an event.
My workaround is to just add the high numbers I want to use as "single values" but it's not as convenient. Of course I know an html pulldown of 65K values is also not practical, so I think the best option would be to honor what the "control" setting is for events.
In other words, in an event, when I control the virtual device, instead of a pulldown have it be a textbox if that's what was selected in the options box under control type.
I hope these screenshots help explain. This example shows the 0-65535 range and my single value of 5376.
Comment