Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

[Selection] Incorrect label after making selection #219

Closed
FredericMa opened this issue Sep 14, 2017 · 2 comments
Closed

[Selection] Incorrect label after making selection #219

FredericMa opened this issue Sep 14, 2017 · 2 comments
Labels

Comments

@FredericMa
Copy link

Hi,

I've created a selection widget with a list of commaseparated choices like this:
PowerOff=Alles uit,TV=TV, Plex=Plex,Chromecast=Chromecast,Wii=Wii

When I open HABpanel, all is visualized correctly:
image

When I make another selection the label doesn't seem to be used. For example, if I select "Alles uit" again, PowerOff is visualised:
image

It is not related to the space in between "Alles uit" since I also tested it without the space.

This is my configuration of the widget:
image

Thanks!

Greetings,
Frederic

@ghys ghys added the bug label Sep 14, 2017
ghys added a commit to ghys/habpanel that referenced this issue Sep 14, 2017
@ghys ghys closed this as completed in #220 Sep 14, 2017
ghys added a commit that referenced this issue Sep 14, 2017
@ghys
Copy link
Member

ghys commented Sep 14, 2017

I think the idea was to combine the "cmd=label" syntax for choices with the MAP transformation for the actual current state display, but your expectation was reasonable as well and made more sense - fixed.
Thanks!

@FredericMa
Copy link
Author

Looking forward to have it fixed in my setup!
Thanks a lot for the quick reply.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants