mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-29 22:15:20 -04:00
Fix command start
This commit is contained in:
parent
f52f84711f
commit
6b346f766f
4 changed files with 4 additions and 3 deletions
|
@ -6,4 +6,5 @@ class Appliance:
|
|||
if self._data["attributes"]["lastConnEvent"]["category"] == "DISCONNECTED":
|
||||
self._data["attributes"]["parameters"]["machMode"] = "0"
|
||||
self._data["active"] = bool(self._data.get("activity"))
|
||||
self._data["pause"] = self._data["attributes"]["parameters"]["machMode"] == "3"
|
||||
return self._data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue