'low'
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/websocket_api/commands.py", line 121, in handle_call_service
connection.context(msg))
File "/usr/local/lib/python3.5/dist-packages/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py", line 194, in handle_service
required_features
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/service.py", line 316, in entity_service_call
future.result() # pop exception if have
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/service.py", line 337, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/home/pi/.homeassistant/custom_components/smartir/climate.py", line 313, in async_turn_on
await self.async_set_operation_mode(self._last_on_operation)
File "/home/pi/.homeassistant/custom_components/smartir/climate.py", line 295, in async_set_operation_mode
await self.send_command()
File "/home/pi/.homeassistant/custom_components/smartir/climate.py", line 327, in send_command
command = self._commands[operation_mode][fan_mode][target_temperature]
KeyError: 'low'
调用服务 climate/turn_on 失败。 'low'