Comments (6)
that sounds really close to this request : #34
from homebuttons.
Right, #34 would probably do the trick. I was hoping to have an icon-off and icon-on option in the panel. Or at least an indication if a button is in the on or off state (e.g. an outline around the icon or inverted colors):
If not the question would be why even have a display at all .. I could print a piece of paper and stick it on there. But maybe I do not really understand all the options since I have not yet purchased the product.
from homebuttons.
I think that the example in #34 gives you an idea of what is possible, @trothe . I haven't done it myself, but the fact that HA can control the labels is the key. For example, I have my HomeButtons configured with one button to start my robot vacuum, and one to stop it (they are different service calls). I could configure an automation to change the label of a single button to start or stop, depending on the status of the vacuum, and then call different services depending on the label. That would save me a button for other uses ...
It's a lot more work, but I think it's a lot more flexible than specifying on and off icons, tying the button to state to decide which one to show, etc. I get where you are coming from to be able to bind the button to a state and show different icons - maybe there is a way to write a blueprint for that?
from homebuttons.
Having buttons with state (switches) is not supported currently. Though, it is possible to dynamically change the label with a Home Assistant automation as @daj102 mentioned.
If not the question would be why even have a display at all .. I could print a piece of paper and stick it on there.
@trothe The primary function of the device is to act as a trigger for automations. The display is there exactly so you do not have to print a piece of paper and stick it there 😀
Adding state to buttons (making it behave as a Switch entity in Home Assistant) is tricky because the device is in deep sleep most of the time. If the state were to change externally, the display would show wrong for up to 60 minutes, depending on how the update interval is set by the user.
from homebuttons.
Some love being sent to #34 ❤️
from homebuttons.
Label change by automations / mqtt is improved in v2.3.0. Native toggle / switch support is not planned at the moment.
from homebuttons.
Related Issues (20)
- Request: Add ability to change URL MDIs are downloaded from HOT 2
- Mqqt Error: Mqtt Password Truncated HOT 6
- Download the binary directly from GitHub
- Update from v2.3.0 to v2.4.0 on original HomeButtons does not work using Online Flasher HOT 1
- Feat. request : export/import settings
- Update failed HOT 9
- Update case files HOT 1
- Icons not displaying HOT 2
- special chars limitations? HOT 2
- Show value from HA on Label6 HOT 1
- [Bug] Using '{% ... %}' syntax in label bricks device HOT 2
- Need support for recovering my bricked Home Buttons after update HOT 1
- Automatic WiFi reconnection HOT 2
- After Update v2.4.1: single button pressed automatisation are not executed anymore / reliably transmitted (?) HOT 5
- Feature request: display a custom message with an optional timeout
- home button controls do not show up in home assistant HOT 3
- Single press does not work anymore with Home Assistant HOT 3
- Please reset IP-Configuration after WiFi-Setup ? HOT 2
- Icons not downloading HOT 2
- Flickering while updating HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebuttons.