Hiding sensor values in entity cards when switch off

Hey there,

is it possible to hide sensor values in a card when a switch os not turned on?

Thanks,
Bastian

Yes:

Replace the third line in your red box with:

- type: conditional
  conditions:
    - entity: switch.ts011f_03
      state: 'on'
  row:
    entity: sensor.ts011f_03_power

Wow, that worked like a charm, thank you!!!

Bastian