Skip to content

Commit d427e8c

Browse files
committed
Update test entity_items asserts and test-jsons
1 parent 00fecb7 commit d427e8c

File tree

9 files changed

+495
-107
lines changed

9 files changed

+495
-107
lines changed

tests/data/adam/adam_heatpump_cooling.json

Lines changed: 176 additions & 31 deletions
Large diffs are not rendered by default.

tests/data/adam/adam_jip.json

Lines changed: 93 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
"dev_class": "climate",
88
"model": "ThermoZone",
99
"name": "Slaapkamer",
10-
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
10+
"preset_modes": [
11+
"home",
12+
"asleep",
13+
"away",
14+
"vacation",
15+
"no_frost"
16+
],
1117
"select_schedule": null,
1218
"select_zone_profile": "active",
1319
"sensors": {
@@ -20,11 +26,19 @@
2026
"upper_bound": 99.9
2127
},
2228
"thermostats": {
23-
"primary": ["1346fbd8498d4dbcab7e18d51b771f3d"],
24-
"secondary": ["356b65335e274d769c338223e7af9c33"]
29+
"primary": [
30+
"1346fbd8498d4dbcab7e18d51b771f3d"
31+
],
32+
"secondary": [
33+
"356b65335e274d769c338223e7af9c33"
34+
]
2535
},
2636
"vendor": "Plugwise",
27-
"zone_profiles": ["active", "off", "passive"]
37+
"zone_profiles": [
38+
"active",
39+
"off",
40+
"passive"
41+
]
2842
},
2943
"13228dab8ce04617af318a2888b3c548": {
3044
"active_preset": "home",
@@ -34,7 +48,13 @@
3448
"dev_class": "climate",
3549
"model": "ThermoZone",
3650
"name": "Woonkamer",
37-
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
51+
"preset_modes": [
52+
"home",
53+
"asleep",
54+
"away",
55+
"vacation",
56+
"no_frost"
57+
],
3858
"select_schedule": null,
3959
"select_zone_profile": "active",
4060
"sensors": {
@@ -47,11 +67,19 @@
4767
"upper_bound": 30.0
4868
},
4969
"thermostats": {
50-
"primary": ["f61f1a2535f54f52ad006a3d18e459ca"],
51-
"secondary": ["833de10f269c4deab58fb9df69901b4e"]
70+
"primary": [
71+
"f61f1a2535f54f52ad006a3d18e459ca"
72+
],
73+
"secondary": [
74+
"833de10f269c4deab58fb9df69901b4e"
75+
]
5276
},
5377
"vendor": "Plugwise",
54-
"zone_profiles": ["active", "off", "passive"]
78+
"zone_profiles": [
79+
"active",
80+
"off",
81+
"passive"
82+
]
5583
},
5684
"1346fbd8498d4dbcab7e18d51b771f3d": {
5785
"available": true,
@@ -64,6 +92,7 @@
6492
"location": "06aecb3d00354375924f50c47af36bd2",
6593
"model": "Lisa",
6694
"model_id": "158-01",
95+
"module_id": "9a08c0d05ffd4f02be9a9bdeb3d01175",
6796
"name": "Slaapkamer",
6897
"sensors": {
6998
"battery": 92,
@@ -87,6 +116,7 @@
87116
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
88117
"model": "Tom/Floor",
89118
"model_id": "106-03",
119+
"module_id": "e71d43382a894c9e888d379368aafba9",
90120
"name": "Tom Logeerkamer",
91121
"sensors": {
92122
"setpoint": 13.0,
@@ -111,6 +141,7 @@
111141
"location": "06aecb3d00354375924f50c47af36bd2",
112142
"model": "Tom/Floor",
113143
"model_id": "106-03",
144+
"module_id": "ccc140dafdc5416dab052bffc465a770",
114145
"name": "Tom Slaapkamer",
115146
"sensors": {
116147
"setpoint": 13.0,
@@ -133,6 +164,7 @@
133164
"location": "9e4433a9d69f40b3aefd15e74395eaec",
134165
"model": "Aqara Smart Plug",
135166
"model_id": "lumi.plug.maeu01",
167+
"module_id": "2ddb4057a8fd46aba92e23c770f3297d",
136168
"name": "Plug",
137169
"sensors": {
138170
"electricity_consumed_interval": 0.0
@@ -155,6 +187,7 @@
155187
"location": "d27aede973b54be484f6842d1b2802ad",
156188
"model": "Lisa",
157189
"model_id": "158-01",
190+
"module_id": "3f91eab3749349799b17f04873bde07e",
158191
"name": "Kinderkamer",
159192
"sensors": {
160193
"battery": 79,
@@ -178,6 +211,7 @@
178211
"location": "13228dab8ce04617af318a2888b3c548",
179212
"model": "Tom/Floor",
180213
"model_id": "106-03",
214+
"module_id": "fc657e19ee7442ab8bfe66df62cb40b3",
181215
"name": "Tom Woonkamer",
182216
"sensors": {
183217
"setpoint": 9.0,
@@ -205,6 +239,7 @@
205239
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
206240
"model": "Lisa",
207241
"model_id": "158-01",
242+
"module_id": "1814d63fb9824aa8aae4d4329d84dfa3",
208243
"name": "Logeerkamer",
209244
"sensors": {
210245
"battery": 80,
@@ -226,15 +261,24 @@
226261
},
227262
"dev_class": "gateway",
228263
"firmware": "3.2.8",
229-
"gateway_modes": ["away", "full", "vacation"],
264+
"gateway_modes": [
265+
"away",
266+
"full",
267+
"vacation"
268+
],
230269
"hardware": "AME Smile 2.0 board",
231270
"location": "9e4433a9d69f40b3aefd15e74395eaec",
232271
"mac_address": "012345670001",
233272
"model": "Gateway",
234273
"model_id": "smile_open_therm",
235274
"name": "Adam",
236275
"notifications": {},
237-
"regulation_modes": ["heating", "off", "bleeding_cold", "bleeding_hot"],
276+
"regulation_modes": [
277+
"heating",
278+
"off",
279+
"bleeding_cold",
280+
"bleeding_hot"
281+
],
238282
"select_gateway_mode": "full",
239283
"select_regulation_mode": "heating",
240284
"sensors": {
@@ -251,7 +295,13 @@
251295
"dev_class": "climate",
252296
"model": "ThermoZone",
253297
"name": "Kinderkamer",
254-
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
298+
"preset_modes": [
299+
"home",
300+
"asleep",
301+
"away",
302+
"vacation",
303+
"no_frost"
304+
],
255305
"select_schedule": null,
256306
"select_zone_profile": "active",
257307
"sensors": {
@@ -264,11 +314,19 @@
264314
"upper_bound": 99.9
265315
},
266316
"thermostats": {
267-
"primary": ["6f3e9d7084214c21b9dfa46f6eeb8700"],
268-
"secondary": ["d4496250d0e942cfa7aea3476e9070d5"]
317+
"primary": [
318+
"6f3e9d7084214c21b9dfa46f6eeb8700"
319+
],
320+
"secondary": [
321+
"d4496250d0e942cfa7aea3476e9070d5"
322+
]
269323
},
270324
"vendor": "Plugwise",
271-
"zone_profiles": ["active", "off", "passive"]
325+
"zone_profiles": [
326+
"active",
327+
"off",
328+
"passive"
329+
]
272330
},
273331
"d4496250d0e942cfa7aea3476e9070d5": {
274332
"available": true,
@@ -278,6 +336,7 @@
278336
"location": "d27aede973b54be484f6842d1b2802ad",
279337
"model": "Tom/Floor",
280338
"model_id": "106-03",
339+
"module_id": "5785d8678bed443ea72b52a1c8a7108d",
281340
"name": "Tom Kinderkamer",
282341
"sensors": {
283342
"setpoint": 13.0,
@@ -302,7 +361,13 @@
302361
"dev_class": "climate",
303362
"model": "ThermoZone",
304363
"name": "Logeerkamer",
305-
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
364+
"preset_modes": [
365+
"home",
366+
"asleep",
367+
"away",
368+
"vacation",
369+
"no_frost"
370+
],
306371
"select_schedule": null,
307372
"select_zone_profile": "active",
308373
"sensors": {
@@ -315,11 +380,19 @@
315380
"upper_bound": 99.9
316381
},
317382
"thermostats": {
318-
"primary": ["a6abc6a129ee499c88a4d420cc413b47"],
319-
"secondary": ["1da4d325838e4ad8aac12177214505c9"]
383+
"primary": [
384+
"a6abc6a129ee499c88a4d420cc413b47"
385+
],
386+
"secondary": [
387+
"1da4d325838e4ad8aac12177214505c9"
388+
]
320389
},
321390
"vendor": "Plugwise",
322-
"zone_profiles": ["active", "off", "passive"]
391+
"zone_profiles": [
392+
"active",
393+
"off",
394+
"passive"
395+
]
323396
},
324397
"e4684553153b44afbef2200885f379dc": {
325398
"available": true,
@@ -344,6 +417,7 @@
344417
},
345418
"model": "Generic heater",
346419
"model_id": "10.20",
420+
"module_id": "2bd6e83f0ae340058606c33503202c72",
347421
"name": "OpenTherm",
348422
"sensors": {
349423
"intended_boiler_temperature": 0.0,
@@ -368,6 +442,7 @@
368442
"location": "13228dab8ce04617af318a2888b3c548",
369443
"model": "Jip",
370444
"model_id": "168-01",
445+
"module_id": "73a5e7c19d3744ad96dfad74142d2db4",
371446
"name": "Woonkamer",
372447
"sensors": {
373448
"battery": 100,

0 commit comments

Comments
 (0)