mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-13 14:44:28 -04:00
Fix empty prStr
This commit is contained in:
parent
658e80a8f4
commit
ff8ae160bb
4 changed files with 5 additions and 3 deletions
|
@ -139,6 +139,8 @@ class HonCommand:
|
|||
async def send_parameters(self, params: Dict[str, str | float]) -> bool:
|
||||
ancillary_params = self.parameter_groups.get("ancillaryParameters", {})
|
||||
ancillary_params.pop("programRules", None)
|
||||
if "prStr" in params:
|
||||
params["prStr"] = self._category_name.upper()
|
||||
self.appliance.sync_command_to_params(self.name)
|
||||
try:
|
||||
result = await self.api.send_command(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue