When I try to set different control types for the same item, Basic UI acts very strangely. This is highlighted when using the Hue binding to toggle a light on and off, which the documentation states that the colour/brightness channel can accept either a colour/number value respectively OR an “ON/OFF” command.
As an example for a dimmer bulb I have the following sitemap configuration:
Frame label="Kitchen Light" {
Switch item=Kitchen_Light_Brightness label="Switch" icon="switch"
Slider item=Kitchen_Light_Brightness
}
In the classic UI, if I press the switch ON, then the light turns on and brightness state is set to it’s last configuration as you’d expect.
On the Basic UI, pressing the switch on turns on the light and updates the brightness state but almost instantly turns the switch back OFF (the light itself still remains on), this stays OFF until I refresh the page, where it shows the expected values. If I were to press the OFF switch twice the switch stays ON position but this also sends another ON command to openhab.
Have I misunderstood how to configure items with multiple types of inputs? Should I really be making two individual items and then linking them through same channel to the same thing? If so, why doesn’t PaperUI allow me to link more than one item to the same thing channel?