-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinary_sensor.yaml
More file actions
executable file
·169 lines (159 loc) · 5.97 KB
/
binary_sensor.yaml
File metadata and controls
executable file
·169 lines (159 loc) · 5.97 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
###############################################################
### https://www.home-assistant.io/components/binary_sensor/ ###
### ###
### Binary Sensor ###
### ###
###############################################################
---
- platform: template
sensors:
## Shower Heater Status
living_ac:
value_template: '{{ states.input_boolean.living_ac.state}}'
friendly_name: 'Shower Heater Status'
### https://github.com/custom-components/sensor.rpi_power
### Moved from sensor to binary_sensor
# - platform: rpi_power
# text_state: true
### https://github.com/custom-components/binary_sensor.hadockermon
# - platform: hadockermon
# host: 127.0.0.1
# port: 8126
# stats: true
# name: hadockermon
# Workday
# - platform: workday
# name: workday
# country: IL
# workdays: [sun, mon, tue, wed, thu]
# excludes: [fri, sat]
# - platform: template
# sensors:
# living_ac_sensor:
# friendly_name: Living Room AC
# entity_id: input_boolean.living_ac
# device_class: plug
# value_template: "{{ states.input_boolean.living_ac.state == 'on' }}"
# icon_template: >-
# {% if is_state('states.input_boolean.living_ac.state', 'on') %}
# mdi:fan
# {% else %}
# mdi:fan-off
# {% endif %}
# International Space Station
# - platform: iss
# name: 'iss'
# # friendly_name: 'International Space Station'
# show_on_map: true
# - platform: template
# sensors:
# miwifi_router:
# friendly_name: Router
# device_class: connectivity
# entity_id: device_tracker.miwifi_router
# value_template: "{{ is_state('device_tracker.miwifi_router', 'home') }}"
# icon_template: >-
# {% if is_state('device_tracker.miwifi_router', 'home') %}
# mdi:router-wireless
# {% else %}
# mdi:router-wireless
# {% endif %}
# switch_living:
# friendly_name: Network Switch (Living)
# device_class: connectivity
# entity_id: device_tracker.net_switch_living
# value_template: "{{ is_state('device_tracker.net_switch_living', 'home') }}"
# icon_template: >-
# {% if is_state('device_tracker.net_switch_living', 'home') %}
# mdi:switch
# {% else %}
# mdi:switch
# {% endif %}
# switch_comm:
# friendly_name: Network Switch (Comm)
# device_class: connectivity
# entity_id: device_tracker.net_switch_comm
# value_template: "{{ is_state('device_tracker.net_switch_comm', 'home') }}"
# icon_template: >-
# {% if is_state('device_tracker.net_switch_comm', 'home') %}
# mdi:switch
# {% else %}
# mdi:switch
# {% endif %}
# google_home:
# friendly_name: Google home
# device_class: connectivity
# entity_id: device_tracker.google_home
# value_template: "{{ is_state('device_tracker.google_home', 'home') }}"
# icon_template: >-
# {% if is_state('device_tracker.google_home', 'home') %}
# mdi:voice
# {% else %}
# mdi:voice
# {% endif %}
# maxima1_tp:
# friendly_name: MAXIMA1-TP
# device_class: connectivity
# entity_id: device_tracker.maxima1_tp_wifi
# value_template: "{{ is_state('device_tracker.maxima1_tp_wifi', 'home') }}"
# icon_template: >-
# {% if is_state('device_tracker.maxima1_tp_wifi', 'home') %}
# mdi:windows
# {% else %}
# mdi:windows
# {% endif %}
# mijia_xiaomi_gateway:
# friendly_name: Xiaomi Gateway
# device_class: connectivity
# entity_id: device_tracker.mijia_xiaomi_gateway
# value_template: "{{ is_state('device_tracker.mijia_xiaomi_gateway', 'home') }}"
# icon_template: >-
# {% if is_state('device_tracker.mijia_xiaomi_gateway', 'home') %}
# mdi:server
# {% else %}
# mdi:server
# {% endif %}
# shelly_73fd26_fw_update:
# value_template: "{{ states.cover.shelly_shsw_25_73fd26.attributes.has_firmware_update }}"
# friendly_name: "Shelly North Master bedroom blinds [73FD26] FW update"
# icon_template: >-
# {% if is_state_attr('cover.shelly_shsw_25_73fd26','has_firmware_update', True) %}
# mdi:cloud-upload
# {% elif is_state_attr('cover.shelly_shsw_25_73fd26','has_firmware_update', False) %}
# mdi:cloud
# {% else %}
# mdi:cloud-question
# {% endif %}
# shelly_73c9f8_fw_update:
# value_template: "{{ states.cover.shelly_shsw_25_73c9f8.attributes.has_firmware_update }}"
# friendly_name: "Shelly Office blinds [73C9F8] FW update"
# icon_template: >-
# {% if is_state_attr('cover.shelly_shsw_25_73c9f8', 'has_firmware_update', True) %}
# mdi:cloud-upload
# {% elif is_state_attr('cover.shelly_shsw_25_73c9f8', 'has_firmware_update', False) %}
# mdi:cloud
# {% else %}
# mdi:cloud-question
# {% endif %}
# shelly_e4cdaf_fw_update:
# value_template: "{{ states.cover.shelly_shsw_25_e4cdaf.attributes.has_firmware_update }}"
# friendly_name: "Shelly Kids bedroom blinds [E4CDAF] FW update"
# icon_template: >-
# {% if is_state_attr('cover.shelly_shsw_25_e4cdaf', 'has_firmware_update', True) %}
# mdi:cloud-upload
# {% elif is_state_attr('cover.shelly_shsw_25_e4cdaf', 'has_firmware_update', False) %}
# mdi:cloud
# {% else %}
# mdi:cloud-question
# {% endif %}
# shelly_e6292b_fw_update:
# value_template: "{{ states.cover.shelly_shsw_25_e6292b.attributes.has_firmware_update }}"
# friendly_name: "Shelly West Master bedroom blinds [E6292B] FW update"
# icon_template: >-
# {% if is_state_attr('cover.shelly_shsw_25_e6292b', 'has_firmware_update', True) %}
# mdi:cloud-upload
# {% elif is_state_attr('cover.shelly_shsw_25_e6292b', 'has_firmware_update', False) %}
# mdi:cloud
# {% else %}
# mdi:cloud-question
# {% endif %}