wichers / esphome-comfoair

ESPHome configuration to drive Zehnder ComfoAir devices.
GNU General Public License v3.0
57 stars 30 forks source link

Auto and Off mode do not work #41

Open svenar-nl opened 3 months ago

svenar-nl commented 3 months ago

When selecting fan mode 'Auto' or 'Off' it shows the following message Failed to call service climate/set_hvac_mode. expected HVACMode or one of 'off', 'heat', 'cool', 'heat_cool', 'auto', 'dry', 'fan_only' for dictionary value @ data['hvac_mode'].

bfabio commented 2 months ago

Same here (Comfoair 160)

deam0n commented 1 month ago

I guess that is normal... from the comfoair.h only CLIMATE_MODE_FAN_ONLY is exposed:

traits.set_supported_modes({ climate::CLIMATE_MODE_FAN_ONLY });

So if you want to change the fans speed you'll have to use the action: climate.set_fan_mode and not climate.set_hvac_mode

bfabio commented 1 month ago

@deam0n wondering if it's the right abstraction or if there's something we can do to make it work out of the box (I'm not an expert on ESPHome)