forked from make-all/tuya-local
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzg205w_mmWave_presence_sensor.yaml
More file actions
340 lines (340 loc) · 6.92 KB
/
Copy pathzg205w_mmWave_presence_sensor.yaml
File metadata and controls
340 lines (340 loc) · 6.92 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
name: mmWave presence sensor
products:
- id: qbapy7r4deyp6zbx
model: ZG-205W
- id: uykwakpl6rbxvjdd
model: ZG-205W/A
entities:
- entity: binary_sensor
class: occupancy
dps:
- id: 1
type: string
name: sensor
mapping:
- dps_val: presence
value: true
- dps_val: none
value: false
# - id: 111
# name: breathingselftest
- entity: number
name: Motion sensitivity
category: config
icon: mdi:motion-sensor
dps:
- id: 2
type: integer
name: value
optional: true
range:
min: 0
max: 10
- entity: number
name: Motion detection distance
category: config
icon: mdi:signal-distance-variant
dps:
- id: 3
type: integer
name: value
optional: true
unit: m
range:
min: 0
max: 1000
mapping:
- scale: 100
step: 10
- entity: number
name: Stationary detection distance
category: config
icon: mdi:signal-distance-variant
dps:
- id: 4
type: integer
name: value
unit: m
optional: true
range:
min: 0
max: 600
mapping:
- scale: 100
step: 10
- entity: sensor
class: illuminance
dps:
- id: 101
type: integer
name: sensor
unit: lx
class: measurement
- entity: sensor
name: Distance
icon: mdi:signal-distance-variant
hidden: unavailable
dps:
- id: 122
type: integer
optional: true
name: sensor
unit: cm
class: measurement
- id: 122
type: integer
optional: true
name: available
mapping:
- dps_val: null
value: false
- value: true
- entity: number
name: Stationary sensitivity
category: config
icon: mdi:motion-sensor
dps:
- id: 102
type: integer
name: value
optional: true
range:
min: 0
max: 10
- entity: light
translation_key: indicator
category: config
dps:
- id: 103
type: boolean
name: switch
optional: true
- entity: select
translation_key: alarm_mode
class: enum
category: config
dps:
- id: 104
type: string
name: option
optional: true
mapping:
- dps_val: armed
value: Armed
- dps_val: disarm
value: Disarm
- dps_val: sos
value: Alarm
- entity: number
name: Small motion detection distance
category: config
icon: mdi:signal-distance-variant
dps:
- id: 105
type: integer
name: value
optional: true
unit: m
range:
min: 0
max: 600
mapping:
- scale: 100
step: 10
- entity: number
name: Small motion sensitivity
category: config
icon: mdi:motion-sensor
dps:
- id: 106
type: integer
name: value
optional: true
range:
min: 0
max: 10
- entity: select
name: Alarm volume
class: enum
icon: mdi:volume-high
category: config
dps:
- id: 107
type: string
name: option
optional: true
mapping:
- dps_val: high
value: High
- dps_val: middle
value: Middle
- dps_val: low
value: Low
- dps_val: mute
value: Mute
- entity: number
name: Exit delay
category: config
class: duration
icon: mdi:timer-sand
dps:
- id: 108
type: integer
name: value
optional: true
unit: s
range:
min: 0
max: 28800
- entity: number
name: Alarm duration
category: config
class: duration
icon: mdi:timer
dps:
- id: 109
type: integer
name: value
unit: min
optional: true
range:
min: 1
max: 30
- entity: number
name: Motion minimum detection distance
category: config
icon: mdi:signal-distance-variant
dps:
- id: 110
type: integer
name: value
unit: m
optional: true
range:
min: 0
max: 1000
mapping:
- scale: 100
step: 10
- entity: number
name: Small motion minimum detection distance
category: config
icon: mdi:signal-distance-variant
dps:
- id: 111
type: integer
name: value
unit: m
optional: true
range:
min: 0
max: 1000
mapping:
- scale: 100
step: 10
- entity: number
name: Breathing minimum detection distance
category: config
icon: mdi:signal-distance-variant
dps:
- id: 112
type: integer
name: value
optional: true
unit: m
range:
min: 0
max: 1000
mapping:
- scale: 100
step: 10
- entity: number
name: Adaptive testing time
category: config
class: duration
icon: mdi:timer
dps:
- id: 113
type: integer
name: value
optional: true
unit: s
range:
min: 0
max: 300
- entity: switch
name: Adaptive test
category: config
icon: mdi:test-tube
dps:
- id: 114
name: switch
type: boolean
optional: true
- entity: button
translation_key: factory_reset
category: config
hidden: true
dps:
- id: 115
type: boolean
name: button
optional: true
- entity: sensor
name: Movement state
class: enum
icon: mdi:cursor-move
dps:
- id: 116
type: string
name: sensor
mapping:
- dps_val: large_move
value: Large
- dps_val: small_move
value: Small
- dps_val: breathe
value: Breathe
- dps_val: none
value: None
- dps_val: far
value: Far
- entity: switch
name: Small motion self-test
category: config
icon: "mdi:test-tube"
dps:
- id: 117
name: switch
type: boolean
optional: true
- entity: switch
name: Breathing self-test
category: config
icon: "mdi:test-tube"
dps:
- id: 118
name: switch
type: boolean
optional: true
- entity: number
name: Motion false detection
category: config
icon: mdi:alpha-x-circle
dps:
- id: 119
type: integer
name: value
optional: true
range:
min: 0
max: 10
- entity: switch
name: Breathing false detection
category: config
icon: mdi:lungs
dps:
- id: 120
name: switch
type: boolean
optional: true