You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The temperature unit of the temperature range is locked to Celsius. This is because if the temperature units of home assistant are set to Fahrenheit, the temperature range 0°C - 4°C is converted to 32°F - 39°F. It should be 0°F - 7.2°F.
The lock is enforced by setting device_class to None:
When home assistant temperature units are set to Fahrenheit, the temperature range should be converted to a sensible range in Fahrenheit, such as 0°F - 7°F with a step size of 1°F.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Checklist
Is your feature request related to a problem? Please describe.
The temperature unit of the temperature range is locked to Celsius. This is because if the temperature units of home assistant are set to Fahrenheit, the temperature range 0°C - 4°C is converted to 32°F - 39°F. It should be 0°F - 7.2°F.
The lock is enforced by setting device_class to None:
HomeAssistant-OptiSpark/custom_components/optispark/number.py
Lines 58 to 71 in 73a252b
Describe the solution you'd like
When home assistant temperature units are set to Fahrenheit, the temperature range should be converted to a sensible range in Fahrenheit, such as 0°F - 7°F with a step size of 1°F.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: