Debian Codegraph @

intents/tests/nb/_fixtures.yaml

raw
1 language: nb
2 floors:
3 - name: "Første etasje"
4 id: first_floor_id
5 - name: "Andre etasje"
6 id: second_floor_id
7 - name: "Kjeller"
8 id: basement_id
9 areas:
10 - name: Kjøkken
11 id: kitchen
12 floor: first_floor_id
13
14 - name: Stue
15 id: living_room
16 floor: first_floor_id
17
18 - name: Soverom
19 id: bedroom
20 floor: second_floor_id
21
22 - name: Garasje
23 id: garage
24 floor: basement_id
25
26 - name: Bad
27 id: bathroom
28 floor: second_floor_id
29
30 - name: Inngang
31 id: entrance
32 floor: first_floor_id
33
34 entities:
35 - name: Soveromlampe
36 id: light.bedroom_lamp
37 area: bedroom
38 state:
39 in: "av"
40 out: "off"
41
42 - name: Kjøkkenbryter
43 id: switch.kitchen
44 area: kitchen
45 state:
46 in: "på"
47 out: "on"
48
49 - name: Takvifte
50 id: fan.ceiling
51 area: living_room
52 state:
53 in: "av"
54 out: "off"
55
56 - name: "Soveromsbryter"
57 id: "switch.bedroom"
58 area: "bedroom"
59 state:
60 in: "av"
61 out: "off"
62
63 - name: "Venstre gardin"
64 id: "cover.curtain_left"
65 area: "living_room"
66 state:
67 in: "åpen"
68 out: "open"
69 attributes:
70 device_class: curtain
71
72 - name: "Høyre gardin"
73 id: "cover.curtain_right"
74 area: "living_room"
75 state:
76 in: "lukket"
77 out: "closed"
78 attributes:
79 device_class: curtain
80
81 - name: "Soveromsgardin"
82 id: "cover.bedroom"
83 area: "bedroom"
84 state:
85 in: "lukket"
86 out: "closed"
87 attributes:
88 device_class: curtain
89
90 - name: "Utetemperatur"
91 id: "sensor.outside_temperature"
92 area: "garage"
93 state: "12"
94 attributes:
95 unit_of_measurement: "°C"
96
97 - name: "Termostat stue"
98 id: "climate.living_room_thermostat"
99 area: "living_room"
100 state: "heat"
101 attributes:
102 current_temperature: 22
103
104 - name: "Stuelampe"
105 id: "light.living_room_lamp"
106 area: "living_room"
107 state:
108 in: "på"
109 out: "on"
110
111 - name: "Garasjelys"
112 id: "light.garage"
113 area: "garage"
114 state:
115 in: "på"
116 out: "on"
117
118 - name: "Inngangsdør"
119 id: "lock.front_door"
120 area: "entrance"
121 state:
122 in: "låst"
123 out: "locked"
124
125 - name: "Bakdør"
126 id: "lock.back_door"
127 state:
128 in: "ulåst"
129 out: "unlocked"
130
131 - name: "Sidedør"
132 id: "lock.side_door"
133 state:
134 in: "låst"
135 out: "locked"
136
137 - name: "Partymodus"
138 id: "scene.party_mode"
139
140 - name: "Stillemodus"
141 id: "script.stealth_mode"
142
143 # https://www.home-assistant.io/integrations/binary_sensor/
144 - name: "Telefon"
145 id: "binary_sensor.phone_battery"
146 state:
147 in: "normal"
148 out: "off"
149 attributes:
150 device_class: battery
151
152 - name: "Telefon"
153 id: "sensor.phone_battery"
154 state: "98"
155 attributes:
156 device_class: battery
157 unit_of_measurement: "%"
158
159 - name: "Telefon"
160 id: "binary_sensor.phone_battery_charging"
161 state:
162 in: "lader"
163 out: "on"
164 attributes:
165 device_class: battery_charging
166
167 - name: "CO2"
168 id: "binary_sensor.co2"
169 area: "kitchen"
170 state:
171 in: "klar"
172 out: "off"
173 attributes:
174 device_class: carbon_monoxide
175
176 - name: "Vannrør"
177 id: "binary_sensor.computer_cold"
178 state:
179 in: "normal"
180 out: "off"
181 attributes:
182 device_class: cold
183
184 - name: "Telefon"
185 id: "binary_sensor.phone_connectivity"
186 state:
187 in: "tilkoblet"
188 out: "on"
189 attributes:
190 device_class: connectivity
191
192 - name: "Katteluke"
193 id: "binary_sensor.pet_door"
194 state:
195 in: "lukket"
196 out: "off"
197 attributes:
198 device_class: door
199
200 - name: "Garasjedør"
201 id: "binary_sensor.garage_door"
202 state:
203 in: "lukket"
204 out: "off"
205 attributes:
206 device_class: garage_door
207
208 - name: "Gass"
209 id: "binary_sensor.gas"
210 area: "kitchen"
211 state:
212 in: "klar"
213 out: "off"
214 attributes:
215 device_class: gas
216
217 - name: "Datamaskin"
218 id: "binary_sensor.computer_heat"
219 state:
220 in: "varm"
221 out: "on"
222 attributes:
223 device_class: heat
224
225 - name: "Lys"
226 id: "binary_sensor.light"
227 state:
228 in: "ingen lys"
229 out: "off"
230 attributes:
231 device_class: light
232
233 - name: "Katteluke"
234 id: "binary_sensor.pet_door_lock"
235 state:
236 in: "ulåst"
237 out: "on"
238 attributes:
239 device_class: lock
240
241 - name: "Vannsensor kjøkken"
242 id: "binary_sensor.water_sensor"
243 area: kitchen
244 state:
245 in: "tørr"
246 out: "off"
247 attributes:
248 device_class: moisture
249
250 - name: "Bevegelsessensor"
251 id: "binary_sensor.garage_motion"
252 area: "garage"
253 state:
254 in: "detektert"
255 out: "on"
256 attributes:
257 device_class: motion
258
259 - name: "Tilstedeværelse"
260 id: "binary_sensor.kitchen_occupancy"
261 area: "kitchen"
262 state:
263 in: "detektert"
264 out: "on"
265 attributes:
266 device_class: occupancy
267
268 - name: "Boddør"
269 id: "binary_sensor.shed_door_opening"
270 state:
271 in: "lukket"
272 out: "off"
273 attributes:
274 device_class: opening
275
276 - name: "Telefonlader"
277 id: "binary_sensor.phone_plug"
278 state:
279 in: "plugget inn"
280 out: "on"
281 attributes:
282 device_class: plug
283
284 - name: "Hovedsikring"
285 id: "binary_sensor.power"
286 state:
287 in: "powered"
288 out: "on"
289 attributes:
290 device_class: power
291
292 - name: "Telefon"
293 id: "binary_sensor.presence"
294 state:
295 in: "borte"
296 out: "off"
297 attributes:
298 device_class: presence
299
300 - name: "Kjæledyrmater"
301 id: "binary_sensor.problem"
302 area: "kitchen"
303 state:
304 in: "ok"
305 out: "off"
306 attributes:
307 device_class: problem
308
309 - name: "Vaskemaskin"
310 id: "binary_sensor.washer_running"
311 state:
312 in: "running"
313 out: "on"
314 attributes:
315 device_class: running
316
317 - name: "Vei"
318 id: "binary_sensor.road_safety"
319 state:
320 in: "trygg"
321 out: "off"
322 attributes:
323 device_class: safety
324
325 - name: "Kjøkken Røykvarsler"
326 id: "binary_sensor.kitchen_smoke"
327 area: "kitchen"
328 state:
329 in: "klar"
330 out: "off"
331 attributes:
332 device_class: smoke
333
334 - name: "Sirene"
335 id: "binary_sensor.sound"
336 area: "garage"
337 state:
338 in: "detektert"
339 out: "on"
340 attributes:
341 device_class: sound
342
343 - name: "Kjeksboks"
344 id: "binary_sensor.cookie_stash_tamper"
345 state:
346 in: "klar"
347 out: "off"
348 attributes:
349 device_class: tamper
350
351 - name: "Telefon"
352 id: "binary_sensor.phone_update"
353 state:
354 in: "oppdatering tilgjengelig"
355 out: "on"
356 attributes:
357 device_class: update
358
359 - name: "Telefon"
360 id: "binary_sensor.phone_vibration"
361 state:
362 in: "vibrerer ikke"
363 out: "off"
364 attributes:
365 device_class: vibration
366
367 - name: "Bodvindu"
368 id: "binary_sensor.shed_window"
369 state:
370 in: "åpen"
371 out: "on"
372 attributes:
373 device_class: window
374
375 - name: "Luftfuktighetssensor bad"
376 id: "sensor.bathroom_humidity"
377 area: bathroom
378 state: "55"
379 attributes:
380 device_class: humidity
381 unit_of_measurement: "%"
382
383 - name: "Dagligvarer"
384 id: "todo.dagligvarer"
385 state: ""
386
387 - name: "Oslo"
388 id: "weather.oslo"
389 state: "clear"
390 attributes:
391 temperature: "15"
392 temperature_unit: "°C"
393
394 - name: "Bergen"
395 id: "weather.bergen"
396 state: "rainy"
397 attributes:
398 temperature: "10"
399 temperature_unit: "°C"
400
401 - name: "Hytta"
402 id: "weather.hytta"
403 state: "snowy"
404 attributes:
405 temperature: "-2"
406 temperature_unit: "°C"
407
408 - name: "Dusty"
409 id: "vacuum.dusty"
410 state: "idle"
411
412 - name: "TV"
413 id: "media_player.tv"
414 state: "idle"
415 attributes:
416 volume_level: "50"
417
418 - name: "Hovedkrana"
419 id: "valve.hovedkrana"
420 state: "open"
421 attributes:
422 position: "100"
423
424 timers:
425 - is_active: false
426 start_hours: 1
427 total_seconds_left: 100
428 rounded_hours_left: 0
429 rounded_minutes_left: 1
430 rounded_seconds_left: 40
431
432 - name: "pizza"
433 start_minutes: 30
434 total_seconds_left: 1505
435 rounded_hours_left: 0
436 rounded_minutes_left: 25
437 rounded_seconds_left: 0
438
439 - area: "kitchen"
440 start_minutes: 5
441 total_seconds_left: 190
442 rounded_hours_left: 0
443 rounded_minutes_left: 3
444 rounded_seconds_left: 0