mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-13 14:44:28 -04:00
Improve update performance
This commit is contained in:
parent
38d09e2ef5
commit
7b51caecca
10 changed files with 63 additions and 49 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue