mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-20 09:55:09 -04:00
expose ancillary parameter in settings
This commit is contained in:
parent
5b91747ec1
commit
8372c75e30
3 changed files with 10 additions and 8 deletions
|
@ -175,7 +175,9 @@ class HonAppliance:
|
|||
def parameters(self):
|
||||
result = {}
|
||||
for name, command in self._commands.items():
|
||||
for key, parameter in command.parameters.items():
|
||||
for key, parameter in (
|
||||
command.parameters | command.ancillary_parameters
|
||||
).items():
|
||||
result.setdefault(name, {})[key] = parameter.value
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue