From 6202c74e3922af7f6d75d5a7e84ba6b54a3527a3 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 14 Jan 2025 10:13:07 +0000 Subject: [PATCH] add a subset of HVAC_MODE_SETS (#1875) iPAC-40 Portable Air Conditioning Heat Pump with Wifi and Remote Control. These devices have a limited option of modes. The available modes are Hot, Cold and Dry. Co-authored-by: rospogrigio <49229287+rospogrigio@users.noreply.github.com> --- custom_components/localtuya/climate.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom_components/localtuya/climate.py b/custom_components/localtuya/climate.py index f56f07680..1bf3b9b78 100644 --- a/custom_components/localtuya/climate.py +++ b/custom_components/localtuya/climate.py @@ -94,6 +94,11 @@ HVACMode.COOL: "cold", HVACMode.AUTO: "auto", }, + "Cold/Dehumidify/Hot": { + HVACMode.HEAT: "hot", + HVACMode.DRY: "dehumidify", + HVACMode.COOL: "cold", + }, "1/0": { HVACMode.HEAT: "1", HVACMode.AUTO: "0",