Skip to content

Commit 51e0eab

Browse files
committed
Save updated fixtures, update test-jsons
1 parent acbc9a5 commit 51e0eab

File tree

13 files changed

+3682
-2284
lines changed

13 files changed

+3682
-2284
lines changed

fixtures/adam_heatpump_cooling/all_data.json

Lines changed: 370 additions & 222 deletions
Large diffs are not rendered by default.

fixtures/adam_jip/all_data.json

Lines changed: 130 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,79 @@
11
{
2-
"devices": {
3-
"1346fbd8498d4dbcab7e18d51b771f3d": {
2+
"entities": {
3+
"06aecb3d00354375924f50c47af36bd2": {
44
"active_preset": "no_frost",
5+
"climate_mode": "heat",
6+
"control_state": "off",
7+
"dev_class": "climate",
8+
"name": "Slaapkamer",
9+
"preset_modes": [
10+
"home",
11+
"asleep",
12+
"away",
13+
"vacation",
14+
"no_frost"
15+
],
16+
"sensors": {
17+
"temperature": 24.2
18+
},
19+
"thermostat": {
20+
"lower_bound": 0.0,
21+
"resolution": 0.01,
22+
"setpoint": 13.0,
23+
"upper_bound": 99.9
24+
},
25+
"thermostats": {
26+
"primary": [
27+
"1346fbd8498d4dbcab7e18d51b771f3d"
28+
],
29+
"secondary": [
30+
"356b65335e274d769c338223e7af9c33"
31+
]
32+
}
33+
},
34+
"13228dab8ce04617af318a2888b3c548": {
35+
"active_preset": "home",
36+
"climate_mode": "heat",
37+
"control_state": "off",
38+
"dev_class": "climate",
39+
"name": "Woonkamer",
40+
"preset_modes": [
41+
"home",
42+
"asleep",
43+
"away",
44+
"vacation",
45+
"no_frost"
46+
],
47+
"sensors": {
48+
"temperature": 27.4
49+
},
50+
"thermostat": {
51+
"lower_bound": 4.0,
52+
"resolution": 0.01,
53+
"setpoint": 9.0,
54+
"upper_bound": 30.0
55+
},
56+
"thermostats": {
57+
"primary": [
58+
"f61f1a2535f54f52ad006a3d18e459ca"
59+
],
60+
"secondary": [
61+
"833de10f269c4deab58fb9df69901b4e"
62+
]
63+
}
64+
},
65+
"1346fbd8498d4dbcab7e18d51b771f3d": {
566
"available": true,
667
"binary_sensors": {
768
"low_battery": false
869
},
9-
"climate_mode": "heat",
10-
"control_state": "off",
1170
"dev_class": "zone_thermostat",
1271
"firmware": "2016-10-27T02:00:00+02:00",
1372
"hardware": "255",
1473
"location": "06aecb3d00354375924f50c47af36bd2",
1574
"model": "Lisa",
1675
"model_id": "158-01",
1776
"name": "Slaapkamer",
18-
"preset_modes": [
19-
"home",
20-
"asleep",
21-
"away",
22-
"vacation",
23-
"no_frost"
24-
],
2577
"sensors": {
2678
"battery": 92,
2779
"setpoint": 13.0,
@@ -33,18 +85,12 @@
3385
"setpoint": 0.0,
3486
"upper_bound": 2.0
3587
},
36-
"thermostat": {
37-
"lower_bound": 0.0,
38-
"resolution": 0.01,
39-
"setpoint": 13.0,
40-
"upper_bound": 99.9
41-
},
4288
"vendor": "Plugwise",
4389
"zigbee_mac_address": "ABCD012345670A03"
4490
},
4591
"1da4d325838e4ad8aac12177214505c9": {
4692
"available": true,
47-
"dev_class": "thermo_sensor",
93+
"dev_class": "thermostatic_radiator_valve",
4894
"firmware": "2020-11-04T01:00:00+01:00",
4995
"hardware": "1",
5096
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
@@ -68,7 +114,7 @@
68114
},
69115
"356b65335e274d769c338223e7af9c33": {
70116
"available": true,
71-
"dev_class": "thermo_sensor",
117+
"dev_class": "thermostatic_radiator_valve",
72118
"firmware": "2020-11-04T01:00:00+01:00",
73119
"hardware": "1",
74120
"location": "06aecb3d00354375924f50c47af36bd2",
@@ -108,27 +154,17 @@
108154
"zigbee_mac_address": "ABCD012345670A06"
109155
},
110156
"6f3e9d7084214c21b9dfa46f6eeb8700": {
111-
"active_preset": "home",
112157
"available": true,
113158
"binary_sensors": {
114159
"low_battery": false
115160
},
116-
"climate_mode": "heat",
117-
"control_state": "off",
118161
"dev_class": "zone_thermostat",
119162
"firmware": "2016-10-27T02:00:00+02:00",
120163
"hardware": "255",
121164
"location": "d27aede973b54be484f6842d1b2802ad",
122165
"model": "Lisa",
123166
"model_id": "158-01",
124167
"name": "Kinderkamer",
125-
"preset_modes": [
126-
"home",
127-
"asleep",
128-
"away",
129-
"vacation",
130-
"no_frost"
131-
],
132168
"sensors": {
133169
"battery": 79,
134170
"setpoint": 13.0,
@@ -140,18 +176,12 @@
140176
"setpoint": 0.0,
141177
"upper_bound": 2.0
142178
},
143-
"thermostat": {
144-
"lower_bound": 0.0,
145-
"resolution": 0.01,
146-
"setpoint": 13.0,
147-
"upper_bound": 99.9
148-
},
149179
"vendor": "Plugwise",
150180
"zigbee_mac_address": "ABCD012345670A02"
151181
},
152182
"833de10f269c4deab58fb9df69901b4e": {
153183
"available": true,
154-
"dev_class": "thermo_sensor",
184+
"dev_class": "thermostatic_radiator_valve",
155185
"firmware": "2020-11-04T01:00:00+01:00",
156186
"hardware": "1",
157187
"location": "13228dab8ce04617af318a2888b3c548",
@@ -174,27 +204,17 @@
174204
"zigbee_mac_address": "ABCD012345670A09"
175205
},
176206
"a6abc6a129ee499c88a4d420cc413b47": {
177-
"active_preset": "home",
178207
"available": true,
179208
"binary_sensors": {
180209
"low_battery": false
181210
},
182-
"climate_mode": "heat",
183-
"control_state": "off",
184211
"dev_class": "zone_thermostat",
185212
"firmware": "2016-10-27T02:00:00+02:00",
186213
"hardware": "255",
187214
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
188215
"model": "Lisa",
189216
"model_id": "158-01",
190217
"name": "Logeerkamer",
191-
"preset_modes": [
192-
"home",
193-
"asleep",
194-
"away",
195-
"vacation",
196-
"no_frost"
197-
],
198218
"sensors": {
199219
"battery": 80,
200220
"setpoint": 13.0,
@@ -206,12 +226,6 @@
206226
"setpoint": 0.0,
207227
"upper_bound": 2.0
208228
},
209-
"thermostat": {
210-
"lower_bound": 0.0,
211-
"resolution": 0.01,
212-
"setpoint": 13.0,
213-
"upper_bound": 99.9
214-
},
215229
"vendor": "Plugwise",
216230
"zigbee_mac_address": "ABCD012345670A01"
217231
},
@@ -246,9 +260,40 @@
246260
"vendor": "Plugwise",
247261
"zigbee_mac_address": "ABCD012345670101"
248262
},
263+
"d27aede973b54be484f6842d1b2802ad": {
264+
"active_preset": "home",
265+
"climate_mode": "heat",
266+
"control_state": "off",
267+
"dev_class": "climate",
268+
"name": "Kinderkamer",
269+
"preset_modes": [
270+
"home",
271+
"asleep",
272+
"away",
273+
"vacation",
274+
"no_frost"
275+
],
276+
"sensors": {
277+
"temperature": 30.0
278+
},
279+
"thermostat": {
280+
"lower_bound": 0.0,
281+
"resolution": 0.01,
282+
"setpoint": 13.0,
283+
"upper_bound": 99.9
284+
},
285+
"thermostats": {
286+
"primary": [
287+
"6f3e9d7084214c21b9dfa46f6eeb8700"
288+
],
289+
"secondary": [
290+
"d4496250d0e942cfa7aea3476e9070d5"
291+
]
292+
}
293+
},
249294
"d4496250d0e942cfa7aea3476e9070d5": {
250295
"available": true,
251-
"dev_class": "thermo_sensor",
296+
"dev_class": "thermostatic_radiator_valve",
252297
"firmware": "2020-11-04T01:00:00+01:00",
253298
"hardware": "1",
254299
"location": "d27aede973b54be484f6842d1b2802ad",
@@ -270,6 +315,37 @@
270315
"vendor": "Plugwise",
271316
"zigbee_mac_address": "ABCD012345670A04"
272317
},
318+
"d58fec52899f4f1c92e4f8fad6d8c48c": {
319+
"active_preset": "home",
320+
"climate_mode": "heat",
321+
"control_state": "off",
322+
"dev_class": "climate",
323+
"name": "Logeerkamer",
324+
"preset_modes": [
325+
"home",
326+
"asleep",
327+
"away",
328+
"vacation",
329+
"no_frost"
330+
],
331+
"sensors": {
332+
"temperature": 30.0
333+
},
334+
"thermostat": {
335+
"lower_bound": 0.0,
336+
"resolution": 0.01,
337+
"setpoint": 13.0,
338+
"upper_bound": 99.9
339+
},
340+
"thermostats": {
341+
"primary": [
342+
"a6abc6a129ee499c88a4d420cc413b47"
343+
],
344+
"secondary": [
345+
"1da4d325838e4ad8aac12177214505c9"
346+
]
347+
}
348+
},
273349
"e4684553153b44afbef2200885f379dc": {
274350
"available": true,
275351
"binary_sensors": {
@@ -307,27 +383,17 @@
307383
"vendor": "Remeha B.V."
308384
},
309385
"f61f1a2535f54f52ad006a3d18e459ca": {
310-
"active_preset": "home",
311386
"available": true,
312387
"binary_sensors": {
313388
"low_battery": false
314389
},
315-
"climate_mode": "heat",
316-
"control_state": "off",
317390
"dev_class": "zone_thermometer",
318391
"firmware": "2020-09-01T02:00:00+02:00",
319392
"hardware": "1",
320393
"location": "13228dab8ce04617af318a2888b3c548",
321394
"model": "Jip",
322395
"model_id": "168-01",
323396
"name": "Woonkamer",
324-
"preset_modes": [
325-
"home",
326-
"asleep",
327-
"away",
328-
"vacation",
329-
"no_frost"
330-
],
331397
"sensors": {
332398
"battery": 100,
333399
"humidity": 56.2,
@@ -340,12 +406,6 @@
340406
"setpoint": 0.0,
341407
"upper_bound": 2.0
342408
},
343-
"thermostat": {
344-
"lower_bound": 4.0,
345-
"resolution": 0.01,
346-
"setpoint": 9.0,
347-
"upper_bound": 30.0
348-
},
349409
"vendor": "Plugwise",
350410
"zigbee_mac_address": "ABCD012345670A08"
351411
}
@@ -354,7 +414,7 @@
354414
"cooling_present": false,
355415
"gateway_id": "b5c2386c6f6342669e50fe49dd05b188",
356416
"heater_id": "e4684553153b44afbef2200885f379dc",
357-
"item_count": 228,
417+
"item_count": 244,
358418
"notifications": {},
359419
"reboot": true,
360420
"smile_name": "Adam"

0 commit comments

Comments
 (0)