mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-06-02 15:49:50 -04:00
Make 'code' attribute really optional
This commit is contained in:
parent
dfbc24452b
commit
9f130e2e85
4 changed files with 3 additions and 4 deletions
|
@ -72,7 +72,6 @@ class HonAPI:
|
|||
async def load_commands(self, appliance: HonAppliance) -> Dict:
|
||||
params: Dict = {
|
||||
"applianceType": appliance.appliance_type,
|
||||
"code": appliance.info["code"],
|
||||
"applianceModelId": appliance.appliance_model_id,
|
||||
"macAddress": appliance.mac_address,
|
||||
"os": const.OS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue