Remove filters, filter out recies #9

This commit is contained in:
Andre Basche 2023-04-16 00:11:50 +02:00
parent 46ff9be4a2
commit 834f25a639
4 changed files with 17 additions and 42 deletions

View file

@ -148,7 +148,14 @@ class HonAppliance:
multi = {}
for program, attr2 in attr.items():
program = program.split(".")[-1].lower()
cmd = HonCommand(command, attr2, self._api, self, programs=multi, program_name=program)
cmd = HonCommand(
command,
attr2,
self._api,
self,
programs=multi,
program_name=program,
)
multi[program] = cmd
commands[command] = cmd
self._commands = commands