lovelace-multiple-entity-row
lovelace-multiple-entity-row copied to clipboard
hide_unavailable: true does not hide
consider:
- type: custom:multiple-entity-row
entity: sensor.kelder_aanbouw_hygro_temp_temperature
hide_unavailable: true
state_header: Temp
name: Kelder
entities:
- entity: sensor.kelder_aanbouw_hygro_temp_humidity
name: Vocht
- entity: sensor.kelder_aanbouw_hygro_temp_battery
name: Battery
secondary_info:
entity: sensor.kelder_aanbouw_hygro_temp_signal_strength
name: Signal
while the sensor.kelder_aanbouw_hygro_temp_temperature entity is unavailable:
still showing:
supposed to be hidden from the view.
HA 2024.2 M-E-R: 4.5.0
using core conditional does work as hoped for:
card:
type: conditional
conditions:
- entity: sensor.[[id]]_hygro_temp_temperature
state_not: unavailable
card:
type: custom:multiple-entity-row
entity: sensor.[[id]]_hygro_temp_temperature
# hide_unavailable: true
state_header: Temp
name: '[[name]]'
<<: &width
styles:
width: 60px
text-align: center
entities:
- entity: sensor.[[id]]_hygro_temp_humidity
name: Vocht
<<: *width
- entity: sensor.[[id]]_hygro_temp_battery
name: Battery
<<: *width
secondary_info:
entity: sensor.[[id]]_hygro_temp_signal_strength
name: Signal