mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-13 22:54:26 -04:00
Fix command start
This commit is contained in:
parent
f52f84711f
commit
6b346f766f
4 changed files with 4 additions and 3 deletions
|
@ -129,7 +129,7 @@ class HonConnection:
|
|||
},
|
||||
"ancillaryParameters": ancillary_parameters,
|
||||
"parameters": parameters,
|
||||
"applianceType": device.appliance_type_name
|
||||
"applianceType": device.appliance_type
|
||||
}
|
||||
url = f"{const.API_URL}/commands/v1/send"
|
||||
async with self._session.post(url, headers=await self._headers, json=data) as resp:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue