Improve update performance

This commit is contained in:
Andre Basche 2023-06-08 19:50:56 +02:00
parent 38d09e2ef5
commit 7b51caecca
10 changed files with 63 additions and 49 deletions

View file

@ -110,6 +110,7 @@ class HonCommand:
async def send(self) -> bool:
params = self.parameter_groups.get("parameters", {})
ancillary_params = self.parameter_groups.get("ancillaryParameters", {})
self.appliance.sync_to_params(self.name)
return await self.api.send_command(
self._appliance, self._name, params, ancillary_params
)