Skip to content

Commit 286058f

Browse files
committed
Save updated fixtures
1 parent ead6f78 commit 286058f

File tree

2 files changed

+166
-91
lines changed

2 files changed

+166
-91
lines changed

fixtures/m_adam_cooling/all_data.json

Lines changed: 83 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"binary_sensors": {
3232
"low_battery": false
3333
},
34-
"dev_class": "thermo_sensor",
34+
"dev_class": "thermostatic_radiator_valve",
3535
"firmware": "2020-11-04T01:00:00+01:00",
3636
"hardware": "1",
3737
"location": "f871b8c4d63549319221e294e4f88074",
@@ -54,40 +54,19 @@
5454
"zigbee_mac_address": "000D6F000C8FF5EE"
5555
},
5656
"ad4838d7d35c4d6ea796ee12ae5aedf8": {
57-
"active_preset": "home",
5857
"available": true,
59-
"available_schedules": [
60-
"Badkamer",
61-
"Test",
62-
"Vakantie",
63-
"Weekschema",
64-
"off"
65-
],
6658
"climate_mode": "cool",
6759
"control_state": "cooling",
6860
"dev_class": "thermostat",
6961
"location": "f2bf9048bef64cc5b6d5110154e33c81",
7062
"model": "ThermoTouch",
7163
"model_id": "143.1",
7264
"name": "Anna",
73-
"preset_modes": [
74-
"no_frost",
75-
"asleep",
76-
"vacation",
77-
"home",
78-
"away"
79-
],
8065
"select_schedule": "off",
8166
"sensors": {
8267
"setpoint": 23.5,
8368
"temperature": 25.8
8469
},
85-
"thermostat": {
86-
"lower_bound": 1.0,
87-
"resolution": 0.01,
88-
"setpoint": 23.5,
89-
"upper_bound": 35.0
90-
},
9170
"vendor": "Plugwise"
9271
},
9372
"da224107914542988a88561b4452b0f6": {
@@ -123,35 +102,17 @@
123102
"zigbee_mac_address": "000D6F000D5A168D"
124103
},
125104
"e2f4322d57924fa090fbbc48b3a140dc": {
126-
"active_preset": "home",
127105
"available": true,
128-
"available_schedules": [
129-
"Badkamer",
130-
"Test",
131-
"Vakantie",
132-
"Weekschema",
133-
"off"
134-
],
135106
"binary_sensors": {
136107
"low_battery": true
137108
},
138-
"climate_mode": "auto",
139-
"control_state": "preheating",
140109
"dev_class": "zone_thermostat",
141110
"firmware": "2016-10-10T02:00:00+02:00",
142111
"hardware": "255",
143112
"location": "f871b8c4d63549319221e294e4f88074",
144113
"model": "Lisa",
145114
"model_id": "158-01",
146115
"name": "Lisa Badkamer",
147-
"preset_modes": [
148-
"no_frost",
149-
"asleep",
150-
"vacation",
151-
"home",
152-
"away"
153-
],
154-
"select_schedule": "Badkamer",
155116
"sensors": {
156117
"battery": 14,
157118
"setpoint": 23.5,
@@ -163,12 +124,6 @@
163124
"setpoint": 0.0,
164125
"upper_bound": 2.0
165126
},
166-
"thermostat": {
167-
"lower_bound": 0.0,
168-
"resolution": 0.01,
169-
"setpoint": 25.0,
170-
"upper_bound": 99.9
171-
},
172127
"vendor": "Plugwise",
173128
"zigbee_mac_address": "000D6F000C869B61"
174129
},
@@ -193,5 +148,87 @@
193148
"notifications": {},
194149
"reboot": true,
195150
"smile_name": "Adam"
151+
},
152+
"zones": {
153+
"f2bf9048bef64cc5b6d5110154e33c81": {
154+
"active_preset": "home",
155+
"available_schedules": [
156+
"Badkamer",
157+
"Test",
158+
"Vakantie",
159+
"Weekschema",
160+
"off"
161+
],
162+
"climate_mode": "auto",
163+
"control_state": "heating",
164+
"dev_class": "climate",
165+
"members": {
166+
"primary": [
167+
"ad4838d7d35c4d6ea796ee12ae5aedf8"
168+
],
169+
"secondary": []
170+
},
171+
"name": "Living room",
172+
"preset_modes": [
173+
"no_frost",
174+
"asleep",
175+
"vacation",
176+
"home",
177+
"away"
178+
],
179+
"select_schedule": "Weekschema",
180+
"sensors": {
181+
"electricity_consumed": 149.9,
182+
"electricity_produced": 0.0,
183+
"temperature": 18.4
184+
},
185+
"thermostat": {
186+
"lower_bound": 1.0,
187+
"resolution": 0.01,
188+
"setpoint": 23.5,
189+
"upper_bound": 35.0
190+
}
191+
},
192+
"f871b8c4d63549319221e294e4f88074": {
193+
"active_preset": "home",
194+
"available_schedules": [
195+
"Badkamer",
196+
"Test",
197+
"Vakantie",
198+
"Weekschema",
199+
"off"
200+
],
201+
"climate_mode": "auto",
202+
"control_state": "preheating",
203+
"dev_class": "climate",
204+
"members": {
205+
"primary": [
206+
"e2f4322d57924fa090fbbc48b3a140dc"
207+
],
208+
"secondary": [
209+
"1772a4ea304041adb83f357b751341ff"
210+
]
211+
},
212+
"name": "Bathroom",
213+
"preset_modes": [
214+
"no_frost",
215+
"asleep",
216+
"vacation",
217+
"home",
218+
"away"
219+
],
220+
"select_schedule": "Badkamer",
221+
"sensors": {
222+
"electricity_consumed": 0.0,
223+
"electricity_produced": 0.0,
224+
"temperature": 16.5
225+
},
226+
"thermostat": {
227+
"lower_bound": 0.0,
228+
"resolution": 0.01,
229+
"setpoint": 25.0,
230+
"upper_bound": 99.9
231+
}
232+
}
196233
}
197234
}

fixtures/m_adam_heating/all_data.json

Lines changed: 83 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"binary_sensors": {
3737
"low_battery": false
3838
},
39-
"dev_class": "thermo_sensor",
39+
"dev_class": "thermostatic_radiator_valve",
4040
"firmware": "2020-11-04T01:00:00+01:00",
4141
"hardware": "1",
4242
"location": "f871b8c4d63549319221e294e4f88074",
@@ -59,40 +59,19 @@
5959
"zigbee_mac_address": "000D6F000C8FF5EE"
6060
},
6161
"ad4838d7d35c4d6ea796ee12ae5aedf8": {
62-
"active_preset": "home",
6362
"available": true,
64-
"available_schedules": [
65-
"Badkamer",
66-
"Test",
67-
"Vakantie",
68-
"Weekschema",
69-
"off"
70-
],
7163
"climate_mode": "heat",
7264
"control_state": "preheating",
7365
"dev_class": "thermostat",
7466
"location": "f2bf9048bef64cc5b6d5110154e33c81",
7567
"model": "ThermoTouch",
7668
"model_id": "143.1",
7769
"name": "Anna",
78-
"preset_modes": [
79-
"no_frost",
80-
"asleep",
81-
"vacation",
82-
"home",
83-
"away"
84-
],
8570
"select_schedule": "off",
8671
"sensors": {
8772
"setpoint": 20.0,
8873
"temperature": 19.1
8974
},
90-
"thermostat": {
91-
"lower_bound": 1.0,
92-
"resolution": 0.01,
93-
"setpoint": 20.0,
94-
"upper_bound": 35.0
95-
},
9675
"vendor": "Plugwise"
9776
},
9877
"da224107914542988a88561b4452b0f6": {
@@ -127,19 +106,10 @@
127106
"zigbee_mac_address": "000D6F000D5A168D"
128107
},
129108
"e2f4322d57924fa090fbbc48b3a140dc": {
130-
"active_preset": "home",
131109
"available": true,
132-
"available_schedules": [
133-
"Badkamer",
134-
"Test",
135-
"Vakantie",
136-
"Weekschema",
137-
"off"
138-
],
139110
"binary_sensors": {
140111
"low_battery": true
141112
},
142-
"climate_mode": "auto",
143113
"control_state": "off",
144114
"dev_class": "zone_thermostat",
145115
"firmware": "2016-10-10T02:00:00+02:00",
@@ -148,14 +118,6 @@
148118
"model": "Lisa",
149119
"model_id": "158-01",
150120
"name": "Lisa Badkamer",
151-
"preset_modes": [
152-
"no_frost",
153-
"asleep",
154-
"vacation",
155-
"home",
156-
"away"
157-
],
158-
"select_schedule": "Badkamer",
159121
"sensors": {
160122
"battery": 14,
161123
"setpoint": 15.0,
@@ -167,12 +129,6 @@
167129
"setpoint": 0.0,
168130
"upper_bound": 2.0
169131
},
170-
"thermostat": {
171-
"lower_bound": 0.0,
172-
"resolution": 0.01,
173-
"setpoint": 15.0,
174-
"upper_bound": 99.9
175-
},
176132
"vendor": "Plugwise",
177133
"zigbee_mac_address": "000D6F000C869B61"
178134
},
@@ -197,5 +153,87 @@
197153
"notifications": {},
198154
"reboot": true,
199155
"smile_name": "Adam"
156+
},
157+
"zones": {
158+
"f2bf9048bef64cc5b6d5110154e33c81": {
159+
"active_preset": "home",
160+
"available_schedules": [
161+
"Badkamer",
162+
"Test",
163+
"Vakantie",
164+
"Weekschema",
165+
"off"
166+
],
167+
"climate_mode": "auto",
168+
"control_state": "heating",
169+
"dev_class": "climate",
170+
"members": {
171+
"primary": [
172+
"ad4838d7d35c4d6ea796ee12ae5aedf8"
173+
],
174+
"secondary": []
175+
},
176+
"name": "Living room",
177+
"preset_modes": [
178+
"no_frost",
179+
"asleep",
180+
"vacation",
181+
"home",
182+
"away"
183+
],
184+
"select_schedule": "Weekschema",
185+
"sensors": {
186+
"electricity_consumed": 149.9,
187+
"electricity_produced": 0.0,
188+
"temperature": 18.4
189+
},
190+
"thermostat": {
191+
"lower_bound": 1.0,
192+
"resolution": 0.01,
193+
"setpoint": 20.0,
194+
"upper_bound": 35.0
195+
}
196+
},
197+
"f871b8c4d63549319221e294e4f88074": {
198+
"active_preset": "home",
199+
"available_schedules": [
200+
"Badkamer",
201+
"Test",
202+
"Vakantie",
203+
"Weekschema",
204+
"off"
205+
],
206+
"climate_mode": "auto",
207+
"control_state": "preheating",
208+
"dev_class": "climate",
209+
"members": {
210+
"primary": [
211+
"e2f4322d57924fa090fbbc48b3a140dc"
212+
],
213+
"secondary": [
214+
"1772a4ea304041adb83f357b751341ff"
215+
]
216+
},
217+
"name": "Bathroom",
218+
"preset_modes": [
219+
"no_frost",
220+
"asleep",
221+
"vacation",
222+
"home",
223+
"away"
224+
],
225+
"select_schedule": "Badkamer",
226+
"sensors": {
227+
"electricity_consumed": 0.0,
228+
"electricity_produced": 0.0,
229+
"temperature": 16.5
230+
},
231+
"thermostat": {
232+
"lower_bound": 0.0,
233+
"resolution": 0.01,
234+
"setpoint": 15.0,
235+
"upper_bound": 99.9
236+
}
237+
}
200238
}
201239
}

0 commit comments

Comments
 (0)