From e234ef3bbb7a7a77e78ff657c3bd846d19c48ec9 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sun, 9 Jul 2023 01:36:03 +0200 Subject: [PATCH] Remove old code in ov hon#88 --- pyhon/appliances/ov.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pyhon/appliances/ov.py b/pyhon/appliances/ov.py index f406ad4..77478cf 100644 --- a/pyhon/appliances/ov.py +++ b/pyhon/appliances/ov.py @@ -14,11 +14,4 @@ class Appliance(ApplianceBase): data["parameters"]["remainingTimeMM"].value = "0" 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