This may seem odd but I would like to hide the value of some Binary Sensor’s in Lovelace.
I’ve setting binary_sensors based on values from a Google calendar entry (Waste Collection)
I am using a customized Monster Card to display what is being collected this week. It’s working nicely, items being collected appear, those not being collected are hidden.
I would like to hide the “on” value of the sensor in the card, I think it looks terrible.
hmmm, unfortunately I am using a custom monster card to hide entities when their sensor is set to off.
Perhaps Monster-card has something that will hide the values
edit: It seems Monster-Card has a glance type, I’ll check it out
@thomasloven
thanks, I can’t seem to get it to work. Perhaps it’s because I’m using a filter in the Monster-Card. Perhaps it’s because it’s the 3rd custom card element I’m using…
I think we cross-posted, I was referring to Glance entries.
If you’ve moved on to dummy-entity-row instead then show_state: false won’t be a valid configuration variable.
I read the docs wrong and mixed up the two configuration variables sections. Where you ‘also tried it here’ is the correct location for individual entities, but I misinformed you and the Glance card only supports show_empty: true for the entire card (when entered directly under type: glance, just like you have columns: 2).
I apologize for misleading you; the Glance card may not do what you’re wanting after all.
HI Thomas,
Since you’re able to hide the state for an entity, please let me ask if you can change the display of it also.
I was a heavy user of @andrey 's custom-ui which enabled us to change the _stateDisplay of entities to whatever you liked, and also template these:
This is deprecated now, and I really miss it, as Op here does… Would be really nice if we could somehow bring that back.
btw same goes for the ‘execute’ on script entities. We could change that using ‘action_name’ customization. This is still available in the more-info but now gone in Lovelace’s Frontend (as is theming btw, still wonder why that is). See: