File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2323 GatewayData ,
2424 PlugwiseData ,
2525 ThermoLoc ,
26+ ZoneData ,
2627)
2728from plugwise .exceptions import ConnectionFailedError , PlugwiseError
2829from plugwise .legacy .data import SmileLegacyData
@@ -120,6 +121,7 @@ async def async_update(self) -> PlugwiseData:
120121 )
121122 self .gw_data : GatewayData = {}
122123 self .gw_devices : dict [str , DeviceData ] = {}
124+ self .zones : dict [str , ZoneData ] = {}
123125 await self .full_update_device ()
124126 self .get_all_devices ()
125127 # Otherwise perform an incremental update
@@ -134,7 +136,11 @@ async def async_update(self) -> PlugwiseData:
134136 self ._update_gw_devices ()
135137
136138 self ._previous_day_number = day_number
137- return PlugwiseData (self .gw_data , self .gw_devices )
139+ return PlugwiseData (
140+ gateway = self .gw_data ,
141+ devices = self .gw_devices ,
142+ zones = self .zone_data ,
143+ )
138144
139145########################################################################################################
140146### API Set and HA Service-related Functions ###
You can’t perform that action at this time.
0 commit comments