File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -505,17 +505,16 @@ async def _update_domain_objects(self) -> None:
505505
506506 async def async_update (self ) -> PlugwiseData :
507507 """Perform an incremental update for updating the various device states."""
508+ await self ._update_domain_objects ()
508509 match self ._target_smile :
509510 case "smile_v2" :
510511 self ._modules = await self ._request (MODULES )
511512 case "smile_v3" | "smile_v4" :
512513 self ._locations = await self ._request (LOCATIONS )
513514 case "smile_thermo_v1" | "smile_thermo_v3" | "smile_thermo_v4" :
514515 self ._appliances = await self ._request (APPLIANCES )
515- await self ._update_domain_objects ()
516516 case "smile_open_therm_v2" | "smile_open_therm_v3" :
517517 self ._appliances = await self ._request (APPLIANCES )
518- await self ._update_domain_objects ()
519518 self ._modules = await self ._request (MODULES )
520519 case "stretch_v2" | "stretch_v3" :
521520 self ._appliances = await self ._request (APPLIANCES )
You can’t perform that action at this time.
0 commit comments