I might not understand how it works, but right now i have a automation and also binary sensors set up as below:
# Washing machine, dryer and dishwasher states
- platform: template
sensors:
utility_room_washing_machine_1_current:
friendly_name: "Utility Room Washing Machine Status"
delay_on: "00:05:00"
value_template: "{{ states('sensor.utility_room_washing_machine_1_current')|float > 6 }}"
device_class: running
- platform: template
sensors:
utility_room_dryer_1_current:
friendly_name: "Utility Room Dryer Status"
delay_on: "00:05:00"
value_template: "{{ states('sensor.utility_room_dryer_1_current')|float > 6 }}"
device_class: running
- platform: template
sensors:
utility_room_dishwasher_1_current:
friendly_name: "Kitchen Dishwasher Status"
delay_on: "00:05:00"
value_template: "{{ states('sensor.kitchen_dishwasher_1_current')|float > 6 }}"
device_class: running
So i can use that sensor in a conditional card. But i wonder, why not set a sensor to true somewhere in the flow of automation? Wouldn’t that be easier and make more sense. Now it feels like i have to do this up 2 times.