Last active
September 9, 2018 08:48
-
-
Save FredrickB/2b96b8cd3bd6648c5e3da59300fab126 to your computer and use it in GitHub Desktop.
Wrapping Strips Guard (https://www.stripsbysensative.com/guard/) readings for opening/closing of door in a Template Binary Sensor for Home-Assistant and referencing in automations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
- platform: template | |
sensors: | |
your_door_sensor_reference_name: | |
friendly_name: "Some friendly name for door" | |
device_class: door | |
value_template: "{{ states('sensor.sensative_strips_access_control') | float <= 22 }}" | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
binary_sensor: !include binary_sensor.yaml | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment