Skip to content

Commit e53dfe3

Browse files
committed
Save updated fixture and test-json
1 parent 0630677 commit e53dfe3

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

fixtures/adam_multiple_devices_per_zone/all_data.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@
5353
},
5454
"thermostats": {
5555
"primary": [
56-
"f1fee6043d3642a9b0a65297455f008e"
57-
],
58-
"secondary": [
56+
"f1fee6043d3642a9b0a65297455f008e",
5957
"680423ff840043738f42cc7f1ff97a36"
60-
]
58+
],
59+
"secondary": []
6160
}
6261
},
6362
"12493538af164a409c6a1c79e38afe1c": {
@@ -212,7 +211,7 @@
212211
"location": "08963fec7c53423ca5680aa4cb502c63",
213212
"model": "Tom/Floor",
214213
"model_id": "106-03",
215-
"name": "Thermostatic Radiator Badkamer",
214+
"name": "Thermostatic Radiator Badkamer 1",
216215
"sensors": {
217216
"battery": 51,
218217
"setpoint": 14.0,
@@ -576,13 +575,13 @@
576575
"binary_sensors": {
577576
"low_battery": false
578577
},
579-
"dev_class": "zone_thermostat",
578+
"dev_class": "thermostatic_radiator_valve",
580579
"firmware": "2016-10-27T02:00:00+02:00",
581580
"hardware": "255",
582581
"location": "08963fec7c53423ca5680aa4cb502c63",
583582
"model": "Lisa",
584583
"model_id": "158-01",
585-
"name": "Zone Thermostat Badkamer",
584+
"name": "Thermostatic Radiator Badkamer 2",
586585
"sensors": {
587586
"battery": 92,
588587
"setpoint": 14.0,

tests/data/adam/adam_multiple_devices_per_zone.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@
5353
},
5454
"thermostats": {
5555
"primary": [
56-
"f1fee6043d3642a9b0a65297455f008e"
57-
],
58-
"secondary": [
56+
"f1fee6043d3642a9b0a65297455f008e",
5957
"680423ff840043738f42cc7f1ff97a36"
60-
]
58+
],
59+
"secondary": []
6160
}
6261
},
6362
"12493538af164a409c6a1c79e38afe1c": {
@@ -577,11 +576,11 @@
577576
"low_battery": false
578577
},
579578
"dev_class": "thermostatic_radiator_valve",
580-
"firmware": "2019-03-27T01:00:00+01:00",
581-
"hardware": "1",
579+
"firmware": "2016-10-27T02:00:00+02:00",
580+
"hardware": "255",
582581
"location": "08963fec7c53423ca5680aa4cb502c63",
583-
"model": "Tom/Floor",
584-
"model_id": "106-03",
582+
"model": "Lisa",
583+
"model_id": "158-01",
585584
"name": "Thermostatic Radiator Badkamer 2",
586585
"sensors": {
587586
"battery": 92,

0 commit comments

Comments
 (0)