Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from JulienRcs/fix-cool-mode
Browse files Browse the repository at this point in the history
BUG - Fix min and max temp value in cool mode
  • Loading branch information
guix77 authored Aug 9, 2024
2 parents 7a5abac + cc83908 commit 49e17e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/aldes/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 49e17e8

Please sign in to comment.