Hi all, I have the following automation (basic, just testing)
- alias: 'Cooling on'
trigger:
platform: numeric_state
entity_id: sensor.humidity_158d0001a366d4
above: 65
action:
- service: climate.set_temperature
data:
entity_id: climate.thermostat
temperature: 70
operation_mode: Cool
Here is my config for the thermostat (Honeywell RTH8580WF)
climate:
- platform: honeywell
username: [email protected]
password: xxx
scan_interval: 600
region: us
And the output I get is the following when I manually trigger the automation:
2017-10-09 08:08:28 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 140410829380800: Received {'type': 'call_service', 'domain': 'automation', 'service': 'trigger', 'service_data': {'entity_id': 'automation.cooling_on'}, 'id': 11}
2017-10-09 08:08:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=automation, service=trigger, service_data=entity_id=automation.cooling_on, service_call_id=140411965113400-4>
2017-10-09 08:08:28 INFO (MainThread) [homeassistant.components.automation] Executing Cooling on
2017-10-09 08:08:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event logbook_entry[L]: name=Cooling on, message=has been triggered, domain=automation, entity_id=automation.cooling_on>
2017-10-09 08:08:28 INFO (MainThread) [homeassistant.helpers.script] Script Cooling on: Running script
2017-10-09 08:08:28 INFO (MainThread) [homeassistant.helpers.script] Script Cooling on: Executing step call service
2017-10-09 08:08:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=set_temperature, service_data=entity_id=climate.thermostat, temperature=70, operation_mode=Cool, service_call_id=140411965113400-5>
2017-10-09 08:08:28 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 182, in _step
result = coro.throw(exc)
File "/usr/src/app/homeassistant/core.py", line 1025, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/climate/__init__.py", line 331, in async_temperature_set_service
yield from climate.async_set_temperature(**kwargs)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
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/honeywell.py", line 285, in set_temperature
if getattr(self._device, "hold_{}".format(mode)) is False:
AttributeError: 'Device' object has no attribute 'hold_off'
Obviously nothing changes on the thermostat, but can anyone assist with the error?
Thanks