Skip to content

Commit 2c66b41

Browse files
committed
Update related asserts
1 parent 95f052c commit 2c66b41

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

fixtures/adam_plus_anna_new/data.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@
2424
"dhw_cm_switch": false
2525
}
2626
},
27+
"10016900610d4c7481df78c89606ef22": {
28+
"available": true,
29+
"dev_class": "valve_actuator_plug",
30+
"location": "d9786723dbcf4f19b5c629a54629f9c7",
31+
"model_id": "TS0011",
32+
"name": "Aanvoer water afsluiter (nous lz3)",
33+
"switches": {
34+
"relay": false
35+
},
36+
"vendor": "_TZ3000_abjodzas",
37+
"zigbee_mac_address": "A4C13862AF9917B1"
38+
},
2739
"14df5c4dc8cb4ba69f9d1ac0eaf7c5c6": {
2840
"available": true,
2941
"binary_sensors": {
@@ -120,6 +132,23 @@
120132
"vendor": "Plugwise",
121133
"zigbee_mac_address": "000D6F000D13CBA0"
122134
},
135+
"67d73d0bd469422db25a618a5fb8eeb0": {
136+
"available": true,
137+
"dev_class": "heater_central_plug",
138+
"location": "b4f211175e124df59603412bafa77a34",
139+
"model": "Aqara Smart Plug",
140+
"model_id": "lumi.plug.maeu01",
141+
"name": "SmartPlug Floor 0",
142+
"sensors": {
143+
"electricity_consumed_interval": 0.0
144+
},
145+
"switches": {
146+
"lock": false,
147+
"relay": true
148+
},
149+
"vendor": "LUMI",
150+
"zigbee_mac_address": "54EF4410002C97F2"
151+
},
123152
"854f8a9b0e7e425db97f1f110e1ce4b3": {
124153
"available": true,
125154
"dev_class": "central_heating_pump_plug",

tests/test_adam.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ async def test_connect_adam_plus_anna_new(self):
3636
assert api.gateway_id == "da224107914542988a88561b4452b0f6"
3737
assert api._last_active["f2bf9048bef64cc5b6d5110154e33c81"] == "Weekschema"
3838
assert api._last_active["f871b8c4d63549319221e294e4f88074"] == "Weekschema" # Badkamer
39-
assert self.entity_items == 197
39+
assert self.entity_items == 216
4040
assert self.entity_list == [
4141
"da224107914542988a88561b4452b0f6",
4242
"056ee145a816487eaa69243c3280f8bf",
43+
"10016900610d4c7481df78c89606ef22",
44+
"67d73d0bd469422db25a618a5fb8eeb0",
4345
"e2f4322d57924fa090fbbc48b3a140dc",
4446
"2568cc4b9c1e401495d4741a5f89bee1",
4547
"1772a4ea304041adb83f357b751341ff",

0 commit comments

Comments
 (0)