Skip to content

Commit 943f99a

Browse files
committed
Updates
1 parent 9f56393 commit 943f99a

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

fixtures/stretch_v23/all_data.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,31 @@
332332
},
333333
"vendor": "Plugwise",
334334
"zigbee_mac_address": "ABCD012345670A04"
335+
},
336+
"fead900a56d3430bb2d53d891f7c0656": {
337+
"dev_class": "heater_central_plug",
338+
"firmware": "2011-06-27T10:52:18+02:00",
339+
"hardware": "6539-0701-4026",
340+
"location": "0000aaaa0000aaaa0000aaaa0000aa00",
341+
"model": "Circle type F",
342+
"name": "CV-ketel 25F6789",
343+
"sensors": {
344+
"electricity_consumed": 1.56,
345+
"electricity_consumed_interval": 0.04,
346+
"electricity_produced": 0.0,
347+
"electricity_produced_interval": 0.0
348+
},
349+
"switches": {
350+
"lock": true,
351+
"relay": true
352+
},
353+
"vendor": "Plugwise",
354+
"zigbee_mac_address": "ABCD012345670A06"
335355
}
336356
},
337357
"gateway": {
338358
"gateway_id": "0000aaaa0000aaaa0000aaaa0000aa00",
339-
"item_count": 229,
359+
"item_count": 243,
340360
"smile_name": "Stretch"
341361
}
342362
}

tests/test_legacy_stretch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async def test_connect_stretch_v23(self):
6969
)
7070

7171
await self.device_test(smile, "2022-05-16 00:00:01", testdata)
72-
assert self.device_items == 229
72+
assert self.device_items == 243
7373

7474
switch_change = await self.tinker_switch(
7575
smile, "2587a7fcdd7e482dab03fda256076b4b"

0 commit comments

Comments
 (0)