benct / lovelace-multiple-entity-row

Show multiple entity states and attributes on entity rows in Home Assistant's Lovelace UI
MIT License
768 stars 55 forks source link

Hide_if not working #297

Closed EvertJob closed 1 year ago

EvertJob commented 1 year ago

Hi,

I'm having a binary_sensor with a off value. I would like to hide the row if the state is off therefore want to use this:

  - entity: binary_sensor.meteoalarm
    type: custom:multiple-entity-row
    hide_if: 'off'

The row is not hiding for any reason. Good chance I'm doing something wrong but cannot figure out what.

ildar170975 commented 1 year ago

The row is not hiding for any reason.

The hide_if option as a property for an entity or a secondary_info, not for the whole row. https://github.com/benct/lovelace-multiple-entity-row#entity-objects https://github.com/benct/lovelace-multiple-entity-row#secondary-info

изображение изображение