Skip to content

Commit 4170666

Browse files
committed
Try 3
1 parent c0e19a3 commit 4170666

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugwise/smile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ def __init__(
8989
self.smile = smile
9090
self.therms_with_offset_func: list[str] = []
9191

92+
self._zones = {}
93+
self.gw_entities = {}
94+
9295
@property
9396
def cooling_present(self) -> bool:
9497
"""Return the cooling capability."""
@@ -125,8 +128,6 @@ async def async_update(self) -> dict[str, GwEntityData]:
125128
126129
Any change in the connected entities will be detected immediately.
127130
"""
128-
self._zones = {}
129-
self.gw_entities = {}
130131
try:
131132
await self.full_xml_update()
132133
self.get_all_gateway_entities()

0 commit comments

Comments
 (0)