-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinary_sensor.yaml
executable file
·27 lines (26 loc) · 1.11 KB
/
binary_sensor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- platform: template
sensors:
hall_door_sensor_burglar:
friendly_name: "Arrachement"
device_class: safety
value_template: "{{ is_state('sensor.enter_opening_sensor_burglar', '3') }}"
living_room_window_opening_burglar:
friendly_name: "Arrachement"
device_class: safety
value_template: "{{ is_state('sensor.living_room_opening_sensor_burglar', '3') }}"
dining_room_window_opening_burglar:
friendly_name: "Arrachement"
device_class: safety
value_template: "{{ is_state('sensor.dining_room_opening_sensor_burglar', '3') }}"
cellar_motion_sensor_burglar:
friendly_name: "Arrachement"
device_class: safety
value_template: "{{ is_state('sensor.cellar_motion_sensor_burglar', '3') }}"
bar_window_opening_sensor_burglar:
friendly_name: "Arrachement"
device_class: safety
value_template: "{{ is_state('sensor.bar_opening_sensor_burglar', '3') }}"
kitchen_window_opening_sensor_burglar:
friendly_name: "Arrachement"
device_class: safety
value_template: "{{ is_state('sensor.kitchen_opening_sensor_burglar', '3') }}"