-
Notifications
You must be signed in to change notification settings - Fork 96
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
FR: I should be able to define define 'on' state easily in Button #353
Comments
The change made does appear to have fixed the case sensitivity issue, but unless I miss something there isn't any way to configure what the 'on' state for a given button should be (which this FR requests) - Should we be seeing a new option somewhere to configure this? |
|
Thanks - yes I see the logic now. If the displayed state and 'on state' where 2 separate templates it would allow for that extra flexibility, since we could use templates to say for example if the entity_id state is > 10 output 'on' (which then matches against your static list). Hopefully that makes sense and I'm not talking complete rubbish 😄 |
Since there is template now, I can define preview value.
However, since I can't define when is 'on' or 'off' in button, I need to create every binary_sensor that indicate that define on or off of that button. Which is annoying.
I wish I can just define 'on' or 'off' state of that button with template.
The text was updated successfully, but these errors were encountered: