From 35bb82b4f2cdfd2ffec69bd15c664bbce2082737 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Mon, 11 Nov 2019 21:45:41 -0500 Subject: [PATCH] Cleaning up washer notification so it doesnt exec if its already running --- config/automations.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/automations.yaml b/config/automations.yaml index 151d103..bbd5888 100644 --- a/config/automations.yaml +++ b/config/automations.yaml @@ -4,6 +4,15 @@ - above: 5 entity_id: sensor.washer_power platform: numeric_state + condition: + condition: or + conditions: + - condition: state + entity_id: sensor.washer_status + state: idle + - condition: state + entity_id: sensor.washer_status + state: complete action: - service: script.washer_running initial_state: true