In my Entity Filter card I have it set to show an Amp reading if the plug is using more than .01 Amps. However when this Amp reading shows up I want to be able to tap it to turn off the plug. Is it possible to somehow define the entry so that it’s an on/off toggle?
Below is the relevant code. The sensor.lamp_plug_electric_consumption_a is what I want to act as an on off toggle.
Thanks
type: entity-filter
entities:
- light.play_room
- sensor.lamp_plug_electric_consumption_a
state_filter:
- 'on'
- operator: '>'
value: .01
card:
type: entities
title: Active Lights