Incompatible fan speeds
gustonator opened this issue · comments
Hi,
thanks for the integration. I have 1 issue with the fan speed.
I’m usint the Atrea RA5 unit, and I don’t have 15%, 20%…100% speeds there, but this:
for circulation:
Off, Min-Circ, Norm-Circ, max-Circ
for ventilation:
Off, Min-vent,Norm-vent, Max-vent
If I use the percentages, i get ‘undefined’ error.
Here are all possible combinations for my unit:
Unit: R-5 RA5
sw RD5 ver.: 2.03.25
If possible we should find a way that is automatic so that the integration detects and chooses the right method automatically. It is hard for me to do it without the access to the unit. If someone provides me the access via port forwarding I can probably get it work.
Hi can you add or replace to const.py
DEFAULT_FAN_MODE_LIST = "10,11,12,20,21,22,30,31,32,33,34,35,36,37,38"
To utils.py
if not fan_mode.isnumeric() or int(fan_mode) < 1 or int(fan_mode) > 100:
and climate.py
async def async_set_fan_mode(self, fan_mode):
fan_percent = int(re.sub("[^0-9]", "", fan_mode))
if fan_percent < 10:
fan_percent = 10
if fan_percent > 100:
fan_percent = 100
if fan_percent >= 10 and fan_percent <= 100: