I have this configuration that works when I turn off a device the amps, watts, kWh and volts disappear and it seems to only work if it’s the only device within a card. How can I get it to work when there is more than one device in a card?
type: entities
entities:
- entity: switch.pump_well
- type: conditional
conditions:
- entity: switch.pump_well
state: "on"
row:
entity: sensor.pump_well_amps
- type: conditional
conditions:
- entity: switch.pump_well
state: "on"
row:
entity: sensor.pump_well_watts
- type: conditional
conditions:
- entity: switch.pump_well
state: "on"
row:
entity: sensor.pump_well_kwh
- type: conditional
conditions:
- entity: switch.pump_well
state: "on"
row:
entity: sensor.pump_well_volts
title: Pump Well
state_color: true
I can’t figure out how to do it when there is more than one switch entity like below.
type: entities
entities:
- entity: switch.office_minoston
name: "Dehumidifer "
- entity: switch.mb_power_meter
title: Master Bath
state_color: true