Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
744094dc07 | |||
bf2015fcb9 |
@ -253,7 +253,9 @@ class HonAppliance:
|
||||
if not (command := self.commands.get(command_name)):
|
||||
return
|
||||
for key in command.setting_keys:
|
||||
if (new := self.attributes.get("parameters", {}).get(key)) is None:
|
||||
if (
|
||||
new := self.attributes.get("parameters", {}).get(key)
|
||||
) is None or new.value == "":
|
||||
continue
|
||||
setting = command.settings[key]
|
||||
try:
|
||||
|
Reference in New Issue
Block a user