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: 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"