-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Celsius air conditioners will not set temperature #19
Comments
FYI here is the logic in the supplicant HA component, homebridge-frigidaire: @property
def min_temp(self):
"""Return the minimum temperature."""
if self.temperature_unit == TEMP_FAHRENHEIT:
return 60
return 16
@property
def max_temp(self):
"""Return the maximum temperature."""
if self.temperature_unit == TEMP_FAHRENHEIT:
return 90
return 32 |
In the meantime, I am currently hacking the if self.temperature_unit == TEMP_CELSIUS:
temperature = int(math.floor((temperature*9/5)+32)) |
Bump |
#22 would make this possible to specify manually as a user:
A cleaner way to address this upstream might be to make |
bump |
why is everything hardcoded in |
The maintainers are most likely from North America-- I know I am-- and too busy with other things in our personal lives to add functionality that doesn't benefit us (again, I know I am). It should be a relatively simple change, as detailed by my comments above. |
Closed via #34 |
frigidaire/frigidaire/__init__.py
Lines 211 to 214 in 3b8e354
Why is this hard coded to Fahrenheit? My AC units are all set (individual settings in the 2.0 app, and in the profile settings of the 3.0 2023 app) to show as Celsius.
(Yes, there are many people in the US that prefer Celsius, instead of Fahrenheit)
Home assistant is also set to Celsius.
When I try to request 24° C, I get this error:
Which makes no sense. I think we need a check for units, but I'm having a hard time determining if we can get that info reliably from the API. If not, maybe a user variable setting?
The text was updated successfully, but these errors were encountered: