Skip to content

Commit 141f949

Browse files
committed
Save updated test-jsons
1 parent 4f93890 commit 141f949

26 files changed

+98
-27
lines changed

tests/data/adam/adam_heatpump_cooling.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@
296296
"model": "Gateway",
297297
"model_id": "smile_open_therm",
298298
"name": "Adam",
299+
"notifications": {},
299300
"regulation_modes": [
300301
"heating",
301302
"off",

tests/data/adam/adam_jip.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
"devices": {
33
"06aecb3d00354375924f50c47af36bd2": {
44
"active_preset": "no_frost",
5+
"available_schedules": [],
56
"climate_mode": "heat",
67
"control_state": "idle",
78
"dev_class": "climate",
9+
"model": "ThermoZone",
810
"name": "Slaapkamer",
911
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
12+
"select_schedule": null,
1013
"sensors": {
1114
"temperature": 24.2
1215
},
@@ -19,15 +22,19 @@
1922
"thermostats": {
2023
"primary": ["1346fbd8498d4dbcab7e18d51b771f3d"],
2124
"secondary": ["356b65335e274d769c338223e7af9c33"]
22-
}
25+
},
26+
"vendor": "Plugwise"
2327
},
2428
"13228dab8ce04617af318a2888b3c548": {
2529
"active_preset": "home",
30+
"available_schedules": [],
2631
"climate_mode": "heat",
2732
"control_state": "idle",
2833
"dev_class": "climate",
34+
"model": "ThermoZone",
2935
"name": "Woonkamer",
3036
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
37+
"select_schedule": null,
3138
"sensors": {
3239
"temperature": 27.4
3340
},
@@ -40,7 +47,8 @@
4047
"thermostats": {
4148
"primary": ["f61f1a2535f54f52ad006a3d18e459ca"],
4249
"secondary": ["833de10f269c4deab58fb9df69901b4e"]
43-
}
50+
},
51+
"vendor": "Plugwise"
4452
},
4553
"1346fbd8498d4dbcab7e18d51b771f3d": {
4654
"available": true,
@@ -222,6 +230,7 @@
222230
"model": "Gateway",
223231
"model_id": "smile_open_therm",
224232
"name": "Adam",
233+
"notifications": {},
225234
"regulation_modes": ["heating", "off", "bleeding_cold", "bleeding_hot"],
226235
"select_gateway_mode": "full",
227236
"select_regulation_mode": "heating",
@@ -233,11 +242,14 @@
233242
},
234243
"d27aede973b54be484f6842d1b2802ad": {
235244
"active_preset": "home",
245+
"available_schedules": [],
236246
"climate_mode": "heat",
237247
"control_state": "idle",
238248
"dev_class": "climate",
249+
"model": "ThermoZone",
239250
"name": "Kinderkamer",
240251
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
252+
"select_schedule": null,
241253
"sensors": {
242254
"temperature": 30.0
243255
},
@@ -250,7 +262,8 @@
250262
"thermostats": {
251263
"primary": ["6f3e9d7084214c21b9dfa46f6eeb8700"],
252264
"secondary": ["d4496250d0e942cfa7aea3476e9070d5"]
253-
}
265+
},
266+
"vendor": "Plugwise"
254267
},
255268
"d4496250d0e942cfa7aea3476e9070d5": {
256269
"available": true,
@@ -278,11 +291,14 @@
278291
},
279292
"d58fec52899f4f1c92e4f8fad6d8c48c": {
280293
"active_preset": "home",
294+
"available_schedules": [],
281295
"climate_mode": "heat",
282296
"control_state": "idle",
283297
"dev_class": "climate",
298+
"model": "ThermoZone",
284299
"name": "Logeerkamer",
285300
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
301+
"select_schedule": null,
286302
"sensors": {
287303
"temperature": 30.0
288304
},
@@ -295,7 +311,8 @@
295311
"thermostats": {
296312
"primary": ["a6abc6a129ee499c88a4d420cc413b47"],
297313
"secondary": ["1da4d325838e4ad8aac12177214505c9"]
298-
}
314+
},
315+
"vendor": "Plugwise"
299316
},
300317
"e4684553153b44afbef2200885f379dc": {
301318
"available": true,

tests/data/adam/adam_multiple_devices_per_zone.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,19 @@
541541
"vendor": "Plugwise",
542542
"zigbee_mac_address": "ABCD012345670A11"
543543
},
544+
"e8ef2a01ed3b4139a53bf749204fe6b4": {
545+
"dev_class": "switching",
546+
"members": [
547+
"02cf28bfec924855854c544690a609ef",
548+
"4a810418d5394b3f82727340b91ba740"
549+
],
550+
"model": "Switchgroup",
551+
"name": "Test",
552+
"switches": {
553+
"relay": true
554+
},
555+
"vendor": "Plugwise"
556+
},
544557
"f1fee6043d3642a9b0a65297455f008e": {
545558
"available": true,
546559
"binary_sensors": {
@@ -567,19 +580,6 @@
567580
"vendor": "Plugwise",
568581
"zigbee_mac_address": "ABCD012345670A08"
569582
},
570-
"e8ef2a01ed3b4139a53bf749204fe6b4": {
571-
"dev_class": "switching",
572-
"members": [
573-
"02cf28bfec924855854c544690a609ef",
574-
"4a810418d5394b3f82727340b91ba740"
575-
],
576-
"model": "Switchgroup",
577-
"name": "Test",
578-
"switches": {
579-
"relay": true
580-
},
581-
"vendor": "Plugwise"
582-
},
583583
"fe799307f1624099878210aa0b9f1475": {
584584
"binary_sensors": {
585585
"plugwise_notification": true
@@ -592,6 +592,11 @@
592592
"model": "Gateway",
593593
"model_id": "smile_open_therm",
594594
"name": "Adam",
595+
"notifications": {
596+
"af82e4ccf9c548528166d38e560662a4": {
597+
"warning": "Node Plug (with MAC address 000D6F000D13CB01, in room 'n.a.') has been unreachable since 23:03 2020-01-18. Please check the connection and restart the device."
598+
}
599+
},
595600
"sensors": {
596601
"outdoor_temperature": 7.81
597602
},

tests/data/adam/adam_onoff_cooling_fake_firmware.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"model": "Gateway",
5151
"model_id": "smile_open_therm",
5252
"name": "Adam",
53+
"notifications": {},
5354
"regulation_modes": [
5455
"heating",
5556
"off",
@@ -88,6 +89,7 @@
8889
"climate_mode": "auto",
8990
"control_state": "idle",
9091
"dev_class": "climate",
92+
"model": "ThermoZone",
9193
"name": "Woonkamer",
9294
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
9395
"select_schedule": "Werkdag schema",
@@ -105,7 +107,8 @@
105107
"thermostats": {
106108
"primary": ["ca79d23ae0094120b877558734cff85c"],
107109
"secondary": []
108-
}
110+
},
111+
"vendor": "Plugwise"
109112
}
110113
}
111114
}

tests/data/adam/adam_plus_anna.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
"model": "Gateway",
8686
"model_id": "smile_open_therm",
8787
"name": "Adam",
88+
"notifications": {
89+
"6fb89e35caeb4b1cb275184895202d84": {
90+
"error": "There is no OpenTherm communication with the boiler."
91+
}
92+
},
8893
"sensors": {
8994
"outdoor_temperature": 11.9
9095
},

tests/data/adam/adam_plus_anna_new.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
"model": "Gateway",
170170
"model_id": "smile_open_therm",
171171
"name": "Adam",
172+
"notifications": {},
172173
"regulation_modes": ["bleeding_hot", "bleeding_cold", "off", "heating"],
173174
"select_gateway_mode": "full",
174175
"select_regulation_mode": "heating",
@@ -214,7 +215,8 @@
214215
"name": "Test",
215216
"switches": {
216217
"relay": true
217-
}
218+
},
219+
"vendor": "Plugwise"
218220
},
219221
"f2bf9048bef64cc5b6d5110154e33c81": {
220222
"active_preset": "home",
@@ -228,6 +230,7 @@
228230
"climate_mode": "auto",
229231
"control_state": "heating",
230232
"dev_class": "climate",
233+
"model": "ThermoZone",
231234
"name": "Living room",
232235
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
233236
"select_schedule": "Weekschema",
@@ -245,7 +248,8 @@
245248
"thermostats": {
246249
"primary": ["ad4838d7d35c4d6ea796ee12ae5aedf8"],
247250
"secondary": []
248-
}
251+
},
252+
"vendor": "Plugwise"
249253
},
250254
"f871b8c4d63549319221e294e4f88074": {
251255
"active_preset": "home",
@@ -259,6 +263,7 @@
259263
"climate_mode": "auto",
260264
"control_state": "preheating",
261265
"dev_class": "climate",
266+
"model": "ThermoZone",
262267
"name": "Bathroom",
263268
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
264269
"select_schedule": "Badkamer",
@@ -276,7 +281,8 @@
276281
"thermostats": {
277282
"primary": ["e2f4322d57924fa090fbbc48b3a140dc"],
278283
"secondary": ["1772a4ea304041adb83f357b751341ff"]
279-
}
284+
},
285+
"vendor": "Plugwise"
280286
}
281287
}
282288
}

tests/data/adam/adam_plus_anna_new_regulation_off.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
"model": "Gateway",
170170
"model_id": "smile_open_therm",
171171
"name": "Adam",
172+
"notifications": {},
172173
"regulation_modes": ["bleeding_hot", "bleeding_cold", "off", "heating"],
173174
"select_gateway_mode": "full",
174175
"select_regulation_mode": "off",
@@ -214,7 +215,8 @@
214215
"name": "Test",
215216
"switches": {
216217
"relay": true
217-
}
218+
},
219+
"vendor": "Plugwise"
218220
},
219221
"f2bf9048bef64cc5b6d5110154e33c81": {
220222
"active_preset": "home",
@@ -228,6 +230,7 @@
228230
"climate_mode": "off",
229231
"control_state": "idle",
230232
"dev_class": "climate",
233+
"model": "ThermoZone",
231234
"name": "Living room",
232235
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
233236
"select_schedule": "off",
@@ -245,7 +248,8 @@
245248
"thermostats": {
246249
"primary": ["ad4838d7d35c4d6ea796ee12ae5aedf8"],
247250
"secondary": []
248-
}
251+
},
252+
"vendor": "Plugwise"
249253
},
250254
"f871b8c4d63549319221e294e4f88074": {
251255
"active_preset": "home",
@@ -259,6 +263,7 @@
259263
"climate_mode": "off",
260264
"control_state": "idle",
261265
"dev_class": "climate",
266+
"model": "ThermoZone",
262267
"name": "Bathroom",
263268
"preset_modes": ["no_frost", "asleep", "vacation", "home", "away"],
264269
"select_schedule": "off",
@@ -276,7 +281,8 @@
276281
"thermostats": {
277282
"primary": ["e2f4322d57924fa090fbbc48b3a140dc"],
278283
"secondary": ["1772a4ea304041adb83f357b751341ff"]
279-
}
284+
},
285+
"vendor": "Plugwise"
280286
}
281287
}
282288
}

tests/data/adam/adam_zone_per_device.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,11 @@
576576
"model": "Gateway",
577577
"model_id": "smile_open_therm",
578578
"name": "Adam",
579+
"notifications": {
580+
"af82e4ccf9c548528166d38e560662a4": {
581+
"warning": "Node Plug (with MAC address 000D6F000D13CB01, in room 'n.a.') has been unreachable since 23:03 2020-01-18. Please check the connection and restart the device."
582+
}
583+
},
579584
"sensors": {
580585
"outdoor_temperature": 7.69
581586
},

tests/data/anna/anna_elga_2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"model": "Gateway",
7878
"model_id": "smile_thermo",
7979
"name": "Smile Anna",
80+
"notifications": {},
8081
"sensors": {
8182
"outdoor_temperature": 6.38
8283
},

tests/data/anna/anna_elga_2_cooling.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"model": "Gateway",
8484
"model_id": "smile_thermo",
8585
"name": "Smile Anna",
86+
"notifications": {},
8687
"sensors": {
8788
"outdoor_temperature": 31.0
8889
},

0 commit comments

Comments
 (0)