From ffa0517a834112ab7664354df944a0e783cdb9bd Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 31 Dec 2024 00:16:21 +0000 Subject: [PATCH] add a subset of HVAC_MODE_SETS 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. --- 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 55bd303e7..2b7be7bd5 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",