1
0
Fork 0
mirror of https://github.com/Andre0512/pyhOn.git synced 2025-05-27 21:24:15 -04:00

Fix some dw bugs

This commit is contained in:
Andre Basche 2023-05-14 23:03:46 +02:00
parent d350d639cc
commit 2feb3295e1
3 changed files with 4 additions and 3 deletions

View file

@ -169,7 +169,7 @@ class HonAppliance:
category = category.split(".")[-1].lower()
categories[category] = result[0]
if categories:
return [list(categories.values())[0]]
return [list(categories.values())[-1]]
return []
def _get_commands(self, data):