-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinary_sensor.yaml
151 lines (135 loc) · 4.09 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
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
- platform: bayesian
prior: 0.5
name: "damien_home"
probability_threshold: 0.9
observations:
- entity_id: "device_tracker.damien_ios"
prob_given_true: 0.7
prob_given_false: 0.2
platform: "state"
to_state: "home"
- entity_id: "device_tracker.damien_phone"
prob_given_true: 0.9
prob_given_false: 0.1
platform: "state"
to_state: "home"
- platform: bayesian
prior: 0.5
name: "olia_home"
probability_threshold: 0.9
observations:
- entity_id: "device_tracker.olia_ios"
prob_given_true: 0.8
prob_given_false: 0.2
platform: "state"
to_state: "home"
- entity_id: "device_tracker.olias_iphone_2"
prob_given_true: 0.7
prob_given_false: 0.2
platform: "state"
to_state: "home"
- platform: mqtt
unique_id: shelly_workshop_light_switch
name: "Shelly Workshop Light Switch"
payload_on: "1"
payload_off: "0"
device_class: "power"
state_topic: "shellies/shellyswitch25-workshop/input/0"
- platform: mqtt
unique_id: shelly_underhousestorage_light_switch
name: "Shelly Underhouse Storage Light Switch"
payload_on: "1"
payload_off: "0"
device_class: "power"
state_topic: "shellies/shellyswitch25-workshop/input/1"
- platform: mqtt
name: Shelly Workshop Overheat
state_topic: "shellies/shellyswitch25-workshop/overtemperature"
payload_on: "1"
payload_off: "0"
# - platform: mqtt
# unique_id: shelly_dining_light_switch
# name: "Shelly Dining Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-dining/input/1"
# - platform: mqtt
# unique_id: shelly_henrysroom_light_switch
# name: "Shelly Henrys Room Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-henrysroom/input/1"
# - platform: mqtt
# unique_id: shelly_office_light_switch
# name: "Shelly Office Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-office/input/0"
# - platform: mqtt
# unique_id: shelly_entrance_light_switch
# name: "Shelly Entrance Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-entrance/input/0"
# - platform: mqtt
# unique_id: shelly_livingroom_light_switch
# name: "Shelly Livingroom Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-livingroom/input/0"
# - platform: mqtt
# unique_id: shelly_bathroomcabinet_light_switch
# name: "Shelly Bathroom Cabinet Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-bathroomcabinet/input/0"
# - platform: mqtt
# unique_id: shelly_ensuitecabinet_light_switch
# name: "Shelly Ensuite Cabinet Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-ensuitecabinet/input/0"
# - platform: mqtt
# unique_id: shelly_ensuite_light_switch
# name: "Shelly Ensuite Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-ensuite/input/0"
# - platform: mqtt
# unique_id: shelly_bedroom_light_switch
# name: "Shelly Bedroom Light Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-bedroom/input/0"
# - platform: mqtt
# unique_id: shelly_ensuite_fan_switch
# name: "Shelly Ensuite Fan Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-ensuitefan/input/1"
# - platform: mqtt
# unique_id: shelly_bathroom_fan_switch
# name: "Shelly Bathroom Fan Switch"
# payload_on: "1"
# payload_off: "0"
# device_class: "power"
# state_topic: "shellies/shelly1l-bathroomfan/input/0"
- platform: mqtt
name: "Kitchen Tablet Motion"
state_topic: 'fully/onMotion/walltablet'
device_class: motion
off_delay: 10
payload_on: 'on'
payload_off: 'off'
value_template: "{% if value_json.event == 'onMotion' %}on{% else %}off{% endif %}"
qos: 1