From 86d1f32caf5eb23019d08da40b80f4eb2c4c6b2a Mon Sep 17 00:00:00 2001 From: Mahasri Kalavala Date: Mon, 28 Sep 2020 16:58:27 -0400 Subject: [PATCH] minor fix --- packages/door_sensors.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/door_sensors.yaml b/packages/door_sensors.yaml index 4bbcf8a..4f52641 100644 --- a/packages/door_sensors.yaml +++ b/packages/door_sensors.yaml @@ -147,6 +147,8 @@ automation: - binary_sensor.door_window_sensor_158d0004231f7b - binary_sensor.door_window_sensor_158d0004248d5b condition: + - condition: template + value_template: "{{ trigger.from_state.state != trigger.to_state.state }}" - condition: template value_template: "{{ trigger.from_state.state not in ['unavailable', 'unknown'] }}" - condition: template