Motion Sensor alerts
This commit is contained in:
parent
87f03c6c72
commit
a649398bb8
2 changed files with 35 additions and 2 deletions
17
sensors.yaml
17
sensors.yaml
|
@ -44,6 +44,23 @@
|
|||
{% endif %}'
|
||||
friendly_name: 'Back Door'
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
hall_motion:
|
||||
value_template: >-
|
||||
{%- if is_state('sensor.aeotec_zw100_multisensor_6_burglar', '3') -%}
|
||||
Tamper
|
||||
{%- elif is_state('sensor.aeotec_zw100_multisensor_6_burglar', '8') -%}
|
||||
Motion
|
||||
{%- elif is_state('sensor.aeotec_zw100_multisensor_6_burglar', '0') -%}
|
||||
OK
|
||||
{%- elif is_state('sensor.aeotec_zw100_multisensor_6_burglar', '254') -%}
|
||||
OK
|
||||
{%- else -%}
|
||||
Unknown
|
||||
{%- endif -%}
|
||||
friendly_name: 'Hall Motion'
|
||||
|
||||
- platform: template
|
||||
sensors:
|
||||
batt_frontdoor:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue