mirror of https://github.com/Andre0512/pyhOn.git
Remove old code in ov hon#88
This commit is contained in:
parent
e00e147ecd
commit
e234ef3bbb
|
@ -14,11 +14,4 @@ class Appliance(ApplianceBase):
|
||||||
data["parameters"]["remainingTimeMM"].value = "0"
|
data["parameters"]["remainingTimeMM"].value = "0"
|
||||||
|
|
||||||
data["active"] = data["parameters"]["onOffStatus"] == "1"
|
data["active"] = data["parameters"]["onOffStatus"] == "1"
|
||||||
|
|
||||||
if program := int(data["parameters"]["prCode"].value):
|
|
||||||
if (setting := self.parent.settings["startProgram.program"]) and isinstance(
|
|
||||||
setting, HonParameterProgram
|
|
||||||
):
|
|
||||||
data["programName"] = setting.ids.get(program, "")
|
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
Loading…
Reference in New Issue