Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button showing an entity with 'On' state doesn't show as on in the dashboard #352

Closed
realroywalker opened this issue Feb 10, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@realroywalker
Copy link

I have a bunch of buttons on my dashboard and spotted the one linked to my heating sensor doesn't show as 'on' in the dashboard when the entity is on.. I'm not sure but I wonder if it's because the Wiser Integration sets the state to On not on - as all my other entities show correctly in the dashboard and they are all lower case..

See here:
image

As a side note it would be really cool to be able to have the rule which decides if something is on or not in the dashboard as a template as part of the button config (like the new template options just added - which ROCK by the way!) - I have a number of sensors (eg my Gas Tank level) which I'd like to highlight as 'On' when it's below 30% for example.

@matt8707
Copy link
Owner

note to self

  1. set state toLowerCase()
  2. related to FR: I should be able to define define 'on' state easily in Button #353

@matt8707 matt8707 added the duplicate This issue or pull request already exists label Feb 11, 2024
matt8707 added a commit that referenced this issue Feb 11, 2024
Fix button state template close #352 close #353
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants