Black Style

This commit is contained in:
Miguel Ángel 2023-04-19 20:12:52 +02:00
parent 191928287f
commit 78bc85132f

View File

@ -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