-
Notifications
You must be signed in to change notification settings - Fork 779
Show state on Switch widget for Rollershutters #976
Comments
For sure, the classic-UI shows it with a value !! |
@s-simma The one with a value is not a rollerblind widget, it's most likely a setpoint. Rollerblind widget has 3 buttons. |
Yes, see #976 (comment) |
@kaikreuzer |
Ok, you are right - I missed that the demo.items does not define a pattern and thus no value is displayed:
If I change it to
It indeed displays a value as per your screenshot. |
@kaikreuzer did you have an actual rollershutter controller when you were testing the sitemap item? I'm asking because I don't have one and when the item is not attached to the binding, the item state only changes to 0 and to 100. Is this normal? |
@resetnow |
No, I was merely using the demo setup and added the [%d %%] as described above. |
…d#976 Signed-off-by: Vlad Ivanov <vlad-mbx@ya.ru>
BasicUI: display rollerblind state if required, fixes #976
…lind-value BasicUI: display rollerblind state if required, fixes eclipse-archived#976
…d#976 Signed-off-by: Vlad Ivanov <vlad-mbx@ya.ru>
Hi,
Seting the Rollershutter state inside a binding e.g.:
this.updateState(new ChannelUID(getThing().getUID(), CHANNEL_POSITION), new DecimalType(position));
with item:
Rollershutter Shutter_GF_OfficeB "Büro Balkon [%d %%]" (GF_Office, Shutters) {channel="siennapl:Sienna_SAM2:1:PL1:position"}
does not display any %-value left to the three buttons of the rollershutter.
The rollershutter icon shows the correct icon (depending on the %-value) - but only as long as you are on the page with the rollershutter.
Classic-UI: it displays either 0% or 100% but not the state value set.
The text was updated successfully, but these errors were encountered: