-
Notifications
You must be signed in to change notification settings - Fork 2
/
binary_sensor.yaml
63 lines (53 loc) · 1.39 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# MeteoAlarm
- platform: meteoalarm
country: "HR"
province: 'Zagreb regija'
# country: "FR"
# province: "Côte d'Or"
# Workday sensor
- platform: workday
country: HR
workdays: [mon, tue, wed, thu, fri]
excludes: [sat, sun, holiday]
add_holidays:
- '2020-12-26'
- '2020-12-31'
# Car wash component
# - platform: car_wash
# weather: weather.home
# tado heating status
- platform: template
sensors:
living_room_heating:
friendly_name: "Heating in Living Room"
value_template: '{{ state_attr("climate.living_room","hvac_action") == "heating" }}'
# Reolink Camera
motion_camera2:
friendly_name: HACS Camera 2 motion
device_class: motion
value_template: "{{ is_state('camera.hacs_camera_2', 'motion') }}"
delay_off:
seconds: 30
# ISS
- platform: iss
show_on_map: false # default is false
# Threshold
- platform: threshold
entity_id: sensor.living_room_temperature
lower: 22
upper: 25.5
name: Living room optimal temperature
- platform: threshold
entity_id: sensor.living_room_temperature
upper: 24.5
name: Living room too hot
- platform: threshold
entity_id: sensor.living_room_temperature
lower: 21
name: Living room too cold
# Ping
- platform: ping
host: 192.168.1.2
name: Router 2
count: 7
scan_interval: 30