forked from tchiavegatti/HomeAssistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binary_sensor.yaml
80 lines (69 loc) · 2.5 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#https://home-assistant.io/components/binary_sensor/
####################################################
# #
# NEST SENSORS #
# #
####################################################
#https://home-assistant.io/components/binary_sensor.nest/
- platform: nest
monitored_conditions:
- fan
####################################################
# #
# PING #
# #
####################################################
#https://home-assistant.io/components/binary_sensor.ping/
- platform: ping
host: 192.168.1.23
name: Linux Laptop
- platform: ping
host: 192.168.100.1
name: Modem
- platform: ping
host: 192.168.1.14
name: NAS
- platform: ping
host: 192.168.1.19
name: Ubiquiti Switch
- platform: ping
host: 192.168.1.20
name: Ikea Tradfri Gateway
- platform: ping
host: 192.168.1.32
name: Broadlink RM Mini 3
- platform: ping
host: 192.168.1.18
name: Open Garage
- platform: ping
host: 192.168.1.38
name: Ubiquiti AP
- platform: ping
host: 192.168.1.36
name: Sonoff Basic 1
- platform: ping
host: 192.168.1.37
name: Sonoff POW 1
####################################################
# #
# TEMPLATE SENSORS #
# #
####################################################
#https://www.home-assistant.io/components/binary_sensor.template/
- platform: template
sensors:
nest:
friendly_name: "Nest Thermostat"
entity_id: device_tracker.18b430868bb9
device_class: connectivity
value_template: "{{ is_state('device_tracker.18b430868bb9', 'home') }}"
echo:
friendly_name: "Echo Dot"
entity_id: device_tracker.6854fd8aee8c
device_class: connectivity
value_template: "{{ is_state('device_tracker.6854fd8aee8c', 'home') }}"
####################################################
# #
# END OF CONFIGURATION FILE #
# #
####################################################