From af05b7173249fa222979b999f02f48262e9e442c Mon Sep 17 00:00:00 2001 From: Andy Barratt Date: Mon, 16 Sep 2024 12:15:44 +0100 Subject: [PATCH] And some more deprecated whoopsies. --- custom_components/localtuya/climate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/localtuya/climate.py b/custom_components/localtuya/climate.py index f52be0482..c2ac5af28 100644 --- a/custom_components/localtuya/climate.py +++ b/custom_components/localtuya/climate.py @@ -73,8 +73,8 @@ HVACMode.AUTO: "Auto", }, "MANUAL/AUTO (Heat)": { - HVAC_MODE_HEAT: "MANUAL", - HVAC_MODE_AUTO: "AUTO", + HVACMode.HEAT: "MANUAL", + HVACMode.AUTO: "AUTO", }, "Manual/Program (Heat)": { HVACMode.HEAT: "Manual",