Skip to content

Instantly share code, notes, and snippets.

@FredrickB
Last active September 9, 2018 08:48
Show Gist options
  • Save FredrickB/2b96b8cd3bd6648c5e3da59300fab126 to your computer and use it in GitHub Desktop.
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
...
- 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 }}"
...
...
binary_sensor: !include binary_sensor.yaml
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment