mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-12-22 18:55:32 +00:00
Fix error when sending commands
This commit is contained in:
parent
69be63df2a
commit
04f19c4609
|
@ -62,11 +62,10 @@ class HonCommand:
|
||||||
return self._ancillary_parameters
|
return self._ancillary_parameters
|
||||||
|
|
||||||
async def send(self) -> bool:
|
async def send(self) -> bool:
|
||||||
parameters = {
|
params = {k: v.value for k, v in self._parameters.items()}
|
||||||
name: parameter.value for name, parameter in self._parameters.items()
|
ancillary_params = {k: v.value for k, v in self._ancillary_parameters.items()}
|
||||||
}
|
|
||||||
return await self._api.send_command(
|
return await self._api.send_command(
|
||||||
self._appliance, self._name, parameters, self.ancillary_parameters
|
self._appliance, self._name, params, ancillary_params
|
||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ with open("README.md", "r") as f:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pyhOn",
|
name="pyhOn",
|
||||||
version="0.8.0b5",
|
version="0.8.0b6",
|
||||||
author="Andre Basche",
|
author="Andre Basche",
|
||||||
description="Control hOn devices with python",
|
description="Control hOn devices with python",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|
Loading…
Reference in a new issue