Hi all, I’m trying to use Home Assistant to run my Ecobee3 fan for 5 minutes if it hasn’t run in the last hour. I’m getting an error trying to use climate.set_fan_mode and I just wanted to post here incase I’m trying to use it wrong before I make an issue on github.
here is the error:
2017-10-26 17:14:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/py35hass/lib/python3.5/site-packages/homeassistant/core.py", line 1026, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/py35hass/lib/python3.5/site-packages/homeassistant/components/climate/__init__.py", line 377, in
async_fan_mode_set_service
yield from climate.async_set_fan_mode(fan)
File "/usr/local/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/local/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/py35hass/lib/python3.5/site-packages/homeassistant/components/climate/__init__.py", line 631, in
set_fan_mode
raise NotImplementedError()
NotImplementedError
Documentation has entity_id inside of data. That could be the problem. When in doubt, call the service from the developer console to make sure your json data is correct.
Thanks, I’ll try moving the entity_id to data, I get the same error using the developer console with this syntax: {"entity_id":"climate.home","fan_mode":"on"}
NotoriousBDG, that service functions as expected, so it looks like Home assistant is properly communicating with my Ecobee, but I still want to have manual control over the fan setting. For instance, I eventually want to be able to tell a skylight to open, turn on the Ecobee’s fan, close the skylight. or have the fan run 5 minutes if it hasn’t run in 60 minutes, but change that to every 120 minutes after bedtime, etc.