Hi folks,
setting up my sitemap I today discovered some issues in the representation of String Items.
Release is openHAB2.2.0 stable.
1) Item value displayed although not configured when mapping String Item as Swtich
String aWzAvrPlayback "Playback" { channel="yamahareceiver:..." }
Switch item=aWzAvrPlayback label="Fernbedienung" icon="remote" mappings=["Play"="Play", "Pause"="Pause", "Stop"="Stop"] visibility=[aWzAvrInput=="Bluetooth"]
I wanna show just the buttons and not the additional state text left to the buttons.
In the label definitions I used no square brackets for state presentation field.
This works fine for other item types (e.g. Switch, Dimmer) but apparently not for String.
2) Item with autoupdate="false"
gets updated anyway
String aWzHubSub "Subwoofer" { channel="harmonyhub:...", autoupdate="false" }
Switch item=aWzHubSub label="Subwoofer" mappings=[VolumeDown="-", VolumeUp="+"] icon="soundvolume"
After pressing the “-” button it is highlighted what it shouldn’t. Only after leaving the window and coming back both buttons are grey again. And again this works fine for a push button with a SwitchItem.
In addition you can see here also problem No.1
Can anybody else confirm this?
Cheers
Sebastian