mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-29 14:05:20 -04:00
Print all keys
This commit is contained in:
parent
5acc81acc3
commit
c4d21be388
4 changed files with 16 additions and 4 deletions
|
@ -5,4 +5,5 @@ class Appliance:
|
|||
def get(self):
|
||||
if self._data["attributes"]["lastConnEvent"]["category"] == "DISCONNECTED":
|
||||
self._data["attributes"]["parameters"]["machMode"] = "0"
|
||||
self._data["active"] = bool(self._data.get("activity"))
|
||||
return self._data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue