Oven overwrite #12

Merged
MiguelAngelLV merged 8 commits from main into main 2023-04-19 20:18:32 +02:00
Showing only changes of commit 78bc85132f - Show all commits

View File

@ -1,5 +1,4 @@
class Appliance:
def data(self, data):
if data["attributes"]["lastConnEvent"]["category"] == "DISCONNECTED":
data["attributes"]["parameters"]["temp"] = "0"
@ -12,4 +11,4 @@ class Appliance:
return data
def settings(self, settings):
return settings
return settings