maxwroc / battery-state-card

Battery state card for Home Assistant
MIT License
852 stars 38 forks source link

Hide entity depending on Home Assistant's "Visible" setting #658

Closed LazyTarget closed 7 months ago

LazyTarget commented 8 months ago

Is your feature request related to a problem? Please describe.

I would like to hide some unwanted entities. Instead of explicitly specifying them in the battery-level-card, it would be nice if I could use the native "Visible" property

Describe the solution you'd like

Home Assistant has a flag on every entity called "Visible". Would it be possible to listen to this setting and hide the entity if it was disabled?

Additional context

image

maxwroc commented 8 months ago

Good idea!

I will need to find out where I can get the info whether the entity is visible or not...

maxwroc commented 7 months ago

Added in v3.2.0