diff --git a/pytouchlinesl/module.py b/pytouchlinesl/module.py index aa9254f..dfd89da 100644 --- a/pytouchlinesl/module.py +++ b/pytouchlinesl/module.py @@ -98,6 +98,7 @@ async def zones(self, *, include_off: bool = False, refresh: bool = False) -> li """ data = await self._data(refresh=refresh) + self._zones = [] for z in data.zones.elements: schedule = await self.schedule_by_idx(z.mode.schedule_index) zone = Zone(module=self, client=self._client, zone_data=z, schedule=schedule)