From cc83908aa97ab0c0c2f5832f11be9b816f090c73 Mon Sep 17 00:00:00 2001 From: JulienRcs Date: Fri, 9 Aug 2024 18:48:30 +0200 Subject: [PATCH] Fix min and max temp value in cool mode --- custom_components/aldes/climate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/aldes/climate.py b/custom_components/aldes/climate.py index 3cb59d5..134e984 100644 --- a/custom_components/aldes/climate.py +++ b/custom_components/aldes/climate.py @@ -96,7 +96,7 @@ def min_temp(self): if product["serial_number"] == self.product_serial_number: if product["indicator"]["current_air_mode"] == "B": return product["indicator"]["cmist"] - if product["indicator"]["current_air_mode"] == "C": + if product["indicator"]["current_air_mode"] == "F": return product["indicator"]["fmist"] return None @@ -107,7 +107,7 @@ def max_temp(self): if product["serial_number"] == self.product_serial_number: if product["indicator"]["current_air_mode"] == "B": return product["indicator"]["cmast"] - if product["indicator"]["current_air_mode"] == "C": + if product["indicator"]["current_air_mode"] == "F": return product["indicator"]["fmast"] return None