Skip to content

Commit a4e93c8

Browse files
committed
Save updated fixtures
1 parent 342be87 commit a4e93c8

File tree

6 files changed

+401
-234
lines changed

6 files changed

+401
-234
lines changed

fixtures/m_adam_cooling/all_data.json

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"devices": {
2+
"entities": {
33
"056ee145a816487eaa69243c3280f8bf": {
44
"available": true,
55
"binary_sensors": {
@@ -53,16 +53,34 @@
5353
"vendor": "Plugwise",
5454
"zigbee_mac_address": "000D6F000C8FF5EE"
5555
},
56+
"29542b2b6a6a4169acecc15c72a599b8": {
57+
"available": true,
58+
"dev_class": "computer_desktop_plug",
59+
"firmware": "2020-11-10T01:00:00+01:00",
60+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
61+
"model": "Plug",
62+
"model_id": "160-01",
63+
"name": "Plug Werkplek",
64+
"sensors": {
65+
"electricity_consumed": 91.3,
66+
"electricity_consumed_interval": 23.0,
67+
"electricity_produced": 0.0,
68+
"electricity_produced_interval": 0.0
69+
},
70+
"switches": {
71+
"lock": false,
72+
"relay": true
73+
},
74+
"vendor": "Plugwise",
75+
"zigbee_mac_address": "000D6F000D13CA9A"
76+
},
5677
"ad4838d7d35c4d6ea796ee12ae5aedf8": {
5778
"available": true,
58-
"climate_mode": "cool",
59-
"control_state": "cooling",
6079
"dev_class": "thermostat",
6180
"location": "f2bf9048bef64cc5b6d5110154e33c81",
6281
"model": "ThermoTouch",
6382
"model_id": "143.1",
6483
"name": "Anna",
65-
"select_schedule": "off",
6684
"sensors": {
6785
"setpoint": 23.5,
6886
"temperature": 25.8
@@ -115,7 +133,7 @@
115133
"name": "Lisa Badkamer",
116134
"sensors": {
117135
"battery": 14,
118-
"setpoint": 23.5,
136+
"setpoint": 25.0,
119137
"temperature": 23.9
120138
},
121139
"temperature_offset": {
@@ -138,18 +156,7 @@
138156
"switches": {
139157
"relay": true
140158
}
141-
}
142-
},
143-
"gateway": {
144-
"cooling_present": true,
145-
"gateway_id": "da224107914542988a88561b4452b0f6",
146-
"heater_id": "056ee145a816487eaa69243c3280f8bf",
147-
"item_count": 89,
148-
"notifications": {},
149-
"reboot": true,
150-
"smile_name": "Adam"
151-
},
152-
"zones": {
159+
},
153160
"f2bf9048bef64cc5b6d5110154e33c81": {
154161
"active_preset": "home",
155162
"available_schedules": [
@@ -159,8 +166,8 @@
159166
"Weekschema",
160167
"off"
161168
],
162-
"climate_mode": "auto",
163-
"control_state": "heating",
169+
"climate_mode": "cool",
170+
"control_state": "cooling",
164171
"dev_class": "climate",
165172
"name": "Living room",
166173
"preset_modes": [
@@ -170,11 +177,11 @@
170177
"home",
171178
"away"
172179
],
173-
"select_schedule": "Weekschema",
180+
"select_schedule": "off",
174181
"sensors": {
175182
"electricity_consumed": 149.9,
176183
"electricity_produced": 0.0,
177-
"temperature": 18.4
184+
"temperature": 25.8
178185
},
179186
"thermostat": {
180187
"lower_bound": 1.0,
@@ -213,7 +220,7 @@
213220
"sensors": {
214221
"electricity_consumed": 0.0,
215222
"electricity_produced": 0.0,
216-
"temperature": 16.5
223+
"temperature": 23.9
217224
},
218225
"thermostat": {
219226
"lower_bound": 0.0,
@@ -230,5 +237,14 @@
230237
]
231238
}
232239
}
240+
},
241+
"gateway": {
242+
"cooling_present": true,
243+
"gateway_id": "da224107914542988a88561b4452b0f6",
244+
"heater_id": "056ee145a816487eaa69243c3280f8bf",
245+
"item_count": 89,
246+
"notifications": {},
247+
"reboot": true,
248+
"smile_name": "Adam"
233249
}
234250
}

fixtures/m_adam_heating/all_data.json

Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"devices": {
2+
"entities": {
33
"056ee145a816487eaa69243c3280f8bf": {
44
"available": true,
55
"binary_sensors": {
@@ -58,16 +58,34 @@
5858
"vendor": "Plugwise",
5959
"zigbee_mac_address": "000D6F000C8FF5EE"
6060
},
61+
"29542b2b6a6a4169acecc15c72a599b8": {
62+
"available": true,
63+
"dev_class": "computer_desktop_plug",
64+
"firmware": "2020-11-10T01:00:00+01:00",
65+
"location": "f2bf9048bef64cc5b6d5110154e33c81",
66+
"model": "Plug",
67+
"model_id": "160-01",
68+
"name": "Plug Werkplek",
69+
"sensors": {
70+
"electricity_consumed": 91.3,
71+
"electricity_consumed_interval": 23.0,
72+
"electricity_produced": 0.0,
73+
"electricity_produced_interval": 0.0
74+
},
75+
"switches": {
76+
"lock": false,
77+
"relay": true
78+
},
79+
"vendor": "Plugwise",
80+
"zigbee_mac_address": "000D6F000D13CA9A"
81+
},
6182
"ad4838d7d35c4d6ea796ee12ae5aedf8": {
6283
"available": true,
63-
"climate_mode": "heat",
64-
"control_state": "preheating",
6584
"dev_class": "thermostat",
6685
"location": "f2bf9048bef64cc5b6d5110154e33c81",
6786
"model": "ThermoTouch",
6887
"model_id": "143.1",
6988
"name": "Anna",
70-
"select_schedule": "off",
7189
"sensors": {
7290
"setpoint": 20.0,
7391
"temperature": 19.1
@@ -110,7 +128,6 @@
110128
"binary_sensors": {
111129
"low_battery": true
112130
},
113-
"control_state": "off",
114131
"dev_class": "zone_thermostat",
115132
"firmware": "2016-10-10T02:00:00+02:00",
116133
"hardware": "255",
@@ -143,18 +160,7 @@
143160
"switches": {
144161
"relay": true
145162
}
146-
}
147-
},
148-
"gateway": {
149-
"cooling_present": false,
150-
"gateway_id": "da224107914542988a88561b4452b0f6",
151-
"heater_id": "056ee145a816487eaa69243c3280f8bf",
152-
"item_count": 89,
153-
"notifications": {},
154-
"reboot": true,
155-
"smile_name": "Adam"
156-
},
157-
"zones": {
163+
},
158164
"f2bf9048bef64cc5b6d5110154e33c81": {
159165
"active_preset": "home",
160166
"available_schedules": [
@@ -164,8 +170,8 @@
164170
"Weekschema",
165171
"off"
166172
],
167-
"climate_mode": "auto",
168-
"control_state": "heating",
173+
"climate_mode": "heat",
174+
"control_state": "preheating",
169175
"dev_class": "climate",
170176
"name": "Living room",
171177
"preset_modes": [
@@ -175,11 +181,11 @@
175181
"home",
176182
"away"
177183
],
178-
"select_schedule": "Weekschema",
184+
"select_schedule": "off",
179185
"sensors": {
180186
"electricity_consumed": 149.9,
181187
"electricity_produced": 0.0,
182-
"temperature": 18.4
188+
"temperature": 19.1
183189
},
184190
"thermostat": {
185191
"lower_bound": 1.0,
@@ -204,7 +210,7 @@
204210
"off"
205211
],
206212
"climate_mode": "auto",
207-
"control_state": "preheating",
213+
"control_state": "off",
208214
"dev_class": "climate",
209215
"name": "Bathroom",
210216
"preset_modes": [
@@ -218,7 +224,7 @@
218224
"sensors": {
219225
"electricity_consumed": 0.0,
220226
"electricity_produced": 0.0,
221-
"temperature": 16.5
227+
"temperature": 17.9
222228
},
223229
"thermostat": {
224230
"lower_bound": 0.0,
@@ -235,5 +241,14 @@
235241
]
236242
}
237243
}
244+
},
245+
"gateway": {
246+
"cooling_present": false,
247+
"gateway_id": "da224107914542988a88561b4452b0f6",
248+
"heater_id": "056ee145a816487eaa69243c3280f8bf",
249+
"item_count": 89,
250+
"notifications": {},
251+
"reboot": true,
252+
"smile_name": "Adam"
238253
}
239254
}

0 commit comments

Comments
 (0)