I have a working Daikin setup with the following component:
{{ states.climate.mjovik }}
<template state climate.mjovik=heat; current_temperature=22.5, min_temp=7, max_temp=35,
temperature=18.0, target_temp_step=1, fan_mode=Auto,
fan_list=['1', '2', '3', '4', '5', 'Auto', 'Silence'], operation_mode=heat,
operation_list=['fan_only', 'dry', 'cool', 'heat', 'auto', 'off'],
swing_mode=Off, swing_list=['3D', 'Horizontal', 'Off', 'Vertical'],
friendly_name=Mjövik, supported_features=705>
However, when I try to control it with the following action:
action:
- service: climate.set_fan_mode
data:
entity_id: climate.mjovik
fan_mode: Auto
I get this error:
2018-11-01 10:20:10 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/service.py", line 224, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/climate/daikin.py", line 248, in set_fan_mode
self.set({ATTR_FAN_MODE: fan_mode})
File "/usr/src/app/homeassistant/components/climate/daikin.py", line 178, in set
values[daikin_attr] = HA_STATE_TO_DAIKIN[value]
KeyError: 'Auto'
I’ve tested with fan_mode: auto
and then I get
2018-11-01 10:45:00 ERROR (SyncWorker_8) [homeassistant.components.climate.daikin] Invalid value fan_mode for auto
It is strange because I can control the fan_mode
from the frontend.
Edit: There is a pull request that fixes the issue: Daikin Component - no climate entities created - task exception