mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-01-19 02:50:44 +00:00
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 a new issue