You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use the map_state function based on the example in the documentation and it isn't working.
If I apply the same settings in Home Assistant, I still get the media player title showing in the Banner Card, rather than the values entered in the map_state code.
In my case, the name field is showing right ("on" when switch is on and "off" when it's off) but icon nevers shows up. I've tried removing the name field (just in case it has priority over the icon or something); icons are still not showing.
I've also tried removing all name fields (the entity one too) and then entity's name is showed.
Any ideas on this?
Thanks!
-- UPDATE --
I had a look at the code and I've seen the following (just a quick look around, maybe this isn't related to this bug):
renderEntities function uses the renderAsToggle function to render any entity of type light, switch (my case) or input_boolean.
renderAsToggle function has no code related to the value field and just uses the mwc-switch tag.
Trying to use the map_state function based on the example in the documentation and it isn't working.
If I apply the same settings in Home Assistant, I still get the media player title showing in the Banner Card, rather than the values entered in the map_state code.
The text was updated successfully, but these errors were encountered: