Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skalavala committed Sep 28, 2020
1 parent 7eebcce commit 86d1f32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/door_sensors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86d1f32

Please sign in to comment.