Skip to content

Commit 546910b

Browse files
committed
Save changed fixture and test-json
1 parent fbb71ff commit 546910b

File tree

2 files changed

+52
-32
lines changed

2 files changed

+52
-32
lines changed

fixtures/adam_heatpump_cooling/all_data.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"off"
1010
],
1111
"climate_mode": "cool",
12-
"control_state": "off",
12+
"control_state": "idle",
1313
"dev_class": "climate",
1414
"model": "ThermoZone",
1515
"name": "Slaapkamer SJ",
@@ -134,7 +134,7 @@
134134
"off"
135135
],
136136
"climate_mode": "cool",
137-
"control_state": "off",
137+
"control_state": "idle",
138138
"dev_class": "climate",
139139
"model": "ThermoZone",
140140
"name": "Slaapkamer DB",
@@ -256,7 +256,7 @@
256256
"off"
257257
],
258258
"climate_mode": "auto",
259-
"control_state": "off",
259+
"control_state": "idle",
260260
"dev_class": "climate",
261261
"model": "ThermoZone",
262262
"name": "Badkamer 2",
@@ -409,7 +409,7 @@
409409
"off"
410410
],
411411
"climate_mode": "auto",
412-
"control_state": "off",
412+
"control_state": "idle",
413413
"dev_class": "climate",
414414
"model": "ThermoZone",
415415
"name": "Badkamer 1",
@@ -449,7 +449,7 @@
449449
"off"
450450
],
451451
"climate_mode": "cool",
452-
"control_state": "off",
452+
"control_state": "idle",
453453
"dev_class": "climate",
454454
"model": "ThermoZone",
455455
"name": "Slaapkamer RB",
@@ -508,7 +508,7 @@
508508
"off"
509509
],
510510
"climate_mode": "cool",
511-
"control_state": "off",
511+
"control_state": "idle",
512512
"dev_class": "climate",
513513
"model": "ThermoZone",
514514
"name": "Slaapkamer SQ",
@@ -568,7 +568,7 @@
568568
"off"
569569
],
570570
"climate_mode": "auto",
571-
"control_state": "off",
571+
"control_state": "idle",
572572
"dev_class": "climate",
573573
"model": "ThermoZone",
574574
"name": "Keuken",
@@ -608,7 +608,7 @@
608608
"off"
609609
],
610610
"climate_mode": "cool",
611-
"control_state": "off",
611+
"control_state": "idle",
612612
"dev_class": "climate",
613613
"model": "ThermoZone",
614614
"name": "Bijkeuken",
@@ -746,7 +746,7 @@
746746
"off"
747747
],
748748
"climate_mode": "cool",
749-
"control_state": "off",
749+
"control_state": "idle",
750750
"dev_class": "climate",
751751
"model": "ThermoZone",
752752
"name": "Slaapkamer JM",
@@ -856,7 +856,7 @@
856856
"off"
857857
],
858858
"climate_mode": "auto",
859-
"control_state": "off",
859+
"control_state": "idle",
860860
"dev_class": "climate",
861861
"model": "ThermoZone",
862862
"name": "Woonkamer",
@@ -892,7 +892,7 @@
892892
"cooling_present": true,
893893
"gateway_id": "7d97fc3117784cfdafe347bcedcbbbcb",
894894
"heater_id": "0ca13e8176204ca7bf6f09de59f81c83",
895-
"item_count": 497,
895+
"item_count": 487,
896896
"notifications": {},
897897
"reboot": true,
898898
"smile_name": "Adam"

tests/data/adam/adam_heatpump_cooling.json

Lines changed: 41 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"entities": {
2+
"devices": {
33
"04b15f6e884448288f811d29fb7b1b30": {
44
"active_preset": "away",
55
"available_schedules": [
@@ -9,8 +9,9 @@
99
"off"
1010
],
1111
"climate_mode": "cool",
12-
"control_state": "off",
12+
"control_state": "idle",
1313
"dev_class": "climate",
14+
"model": "ThermoZone",
1415
"name": "Slaapkamer SJ",
1516
"preset_modes": [
1617
"no_frost",
@@ -36,7 +37,8 @@
3637
"d3a276aeb3114a509bab1e4bf8c40348"
3738
],
3839
"secondary": []
39-
}
40+
},
41+
"vendor": "Plugwise"
4042
},
4143
"0ca13e8176204ca7bf6f09de59f81c83": {
4244
"available": true,
@@ -132,8 +134,9 @@
132134
"off"
133135
],
134136
"climate_mode": "cool",
135-
"control_state": "off",
137+
"control_state": "idle",
136138
"dev_class": "climate",
139+
"model": "ThermoZone",
137140
"name": "Slaapkamer DB",
138141
"preset_modes": [
139142
"no_frost",
@@ -159,7 +162,8 @@
159162
"47e2c550a33846b680725aa3fb229473"
160163
],
161164
"secondary": []
162-
}
165+
},
166+
"vendor": "Plugwise"
163167
},
164168
"2e0fc4db2a6d4cbeb7cf786143543961": {
165169
"available": true,
@@ -252,8 +256,9 @@
252256
"off"
253257
],
254258
"climate_mode": "auto",
255-
"control_state": "off",
259+
"control_state": "idle",
256260
"dev_class": "climate",
261+
"model": "ThermoZone",
257262
"name": "Badkamer 2",
258263
"preset_modes": [
259264
"no_frost",
@@ -278,7 +283,8 @@
278283
"f04c985c11ad4848b8fcd710343f9dcf"
279284
],
280285
"secondary": []
281-
}
286+
},
287+
"vendor": "Plugwise"
282288
},
283289
"5ead63c65e5f44e7870ba2bd680ceb9e": {
284290
"available": true,
@@ -403,8 +409,9 @@
403409
"off"
404410
],
405411
"climate_mode": "auto",
406-
"control_state": "off",
412+
"control_state": "idle",
407413
"dev_class": "climate",
414+
"model": "ThermoZone",
408415
"name": "Badkamer 1",
409416
"preset_modes": [
410417
"no_frost",
@@ -430,7 +437,8 @@
430437
"eac5db95d97241f6b17790897847ccf5"
431438
],
432439
"secondary": []
433-
}
440+
},
441+
"vendor": "Plugwise"
434442
},
435443
"93ac3f7bf25342f58cbb77c4a99ac0b3": {
436444
"active_preset": "away",
@@ -441,8 +449,9 @@
441449
"off"
442450
],
443451
"climate_mode": "cool",
444-
"control_state": "off",
452+
"control_state": "idle",
445453
"dev_class": "climate",
454+
"model": "ThermoZone",
446455
"name": "Slaapkamer RB",
447456
"preset_modes": [
448457
"no_frost",
@@ -467,7 +476,8 @@
467476
"c4ed311d54e341f58b4cdd201d1fde7e"
468477
],
469478
"secondary": []
470-
}
479+
},
480+
"vendor": "Plugwise"
471481
},
472482
"96714ad90fc948bcbcb5021c4b9f5ae9": {
473483
"available": true,
@@ -498,8 +508,9 @@
498508
"off"
499509
],
500510
"climate_mode": "cool",
501-
"control_state": "off",
511+
"control_state": "idle",
502512
"dev_class": "climate",
513+
"model": "ThermoZone",
503514
"name": "Slaapkamer SQ",
504515
"preset_modes": [
505516
"no_frost",
@@ -525,7 +536,8 @@
525536
"beb32da072274e698146db8b022f3c36"
526537
],
527538
"secondary": []
528-
}
539+
},
540+
"vendor": "Plugwise"
529541
},
530542
"a03b6e8e76dd4646af1a77c31dd9370c": {
531543
"available": true,
@@ -556,8 +568,9 @@
556568
"off"
557569
],
558570
"climate_mode": "auto",
559-
"control_state": "off",
571+
"control_state": "idle",
560572
"dev_class": "climate",
573+
"model": "ThermoZone",
561574
"name": "Keuken",
562575
"preset_modes": [
563576
"no_frost",
@@ -583,7 +596,8 @@
583596
"ea8372c0e3ad4622ad45a041d02425f5"
584597
],
585598
"secondary": []
586-
}
599+
},
600+
"vendor": "Plugwise"
587601
},
588602
"b52908550469425b812c87f766fe5303": {
589603
"active_preset": "away",
@@ -594,8 +608,9 @@
594608
"off"
595609
],
596610
"climate_mode": "cool",
597-
"control_state": "off",
611+
"control_state": "idle",
598612
"dev_class": "climate",
613+
"model": "ThermoZone",
599614
"name": "Bijkeuken",
600615
"preset_modes": [
601616
"no_frost",
@@ -621,7 +636,8 @@
621636
"1053c8bbf8be43c6921742b146a625f1"
622637
],
623638
"secondary": []
624-
}
639+
},
640+
"vendor": "Plugwise"
625641
},
626642
"bbcffa48019f4b09b8368bbaf9559e68": {
627643
"available": true,
@@ -730,8 +746,9 @@
730746
"off"
731747
],
732748
"climate_mode": "cool",
733-
"control_state": "off",
749+
"control_state": "idle",
734750
"dev_class": "climate",
751+
"model": "ThermoZone",
735752
"name": "Slaapkamer JM",
736753
"preset_modes": [
737754
"no_frost",
@@ -757,7 +774,8 @@
757774
"7fda9f84f01342f8afe9ebbbbff30c0f"
758775
],
759776
"secondary": []
760-
}
777+
},
778+
"vendor": "Plugwise"
761779
},
762780
"ea8372c0e3ad4622ad45a041d02425f5": {
763781
"available": true,
@@ -838,8 +856,9 @@
838856
"off"
839857
],
840858
"climate_mode": "auto",
841-
"control_state": "off",
859+
"control_state": "idle",
842860
"dev_class": "climate",
861+
"model": "ThermoZone",
843862
"name": "Woonkamer",
844863
"preset_modes": [
845864
"no_frost",
@@ -865,7 +884,8 @@
865884
"ca79d23ae0094120b877558734cff85c"
866885
],
867886
"secondary": []
868-
}
887+
},
888+
"vendor": "Plugwise"
869889
}
870890
}
871891
}

0 commit comments

Comments
 (0)