Oven overwrite #12
@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user