mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-01-19 02:50:44 +00:00
Black Style
This commit is contained in:
parent
191928287f
commit
78bc85132f
|
@ -1,5 +1,4 @@
|
||||||
class Appliance:
|
class Appliance:
|
||||||
|
|
||||||
def data(self, data):
|
def data(self, data):
|
||||||
if data["attributes"]["lastConnEvent"]["category"] == "DISCONNECTED":
|
if data["attributes"]["lastConnEvent"]["category"] == "DISCONNECTED":
|
||||||
data["attributes"]["parameters"]["temp"] = "0"
|
data["attributes"]["parameters"]["temp"] = "0"
|
||||||
|
@ -12,4 +11,4 @@ class Appliance:
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def settings(self, settings):
|
def settings(self, settings):
|
||||||
return settings
|
return settings
|
||||||
|
|
Loading…
Reference in a new issue