Traceback (most recent call last):


 "transcribe_streaming.py", line 29, in <module>

from google.cloud.grpc.speech.v1beta1 import cloud_speech_pb2


 "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/google/cloud/grpc/speech/v1beta1/cloud_speech_pb2.py", line 17, in <module>

from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2
ImportError: No module named longrunning

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service

connection.context(msg),


 "/usr/src/homeassistant/homeassistant/core.py", line 1234, in async_call

await asyncio.shield(self._execute_service(handler, service_call))


 "/usr/src/homeassistant/homeassistant/core.py", line 1257, in _execute_service

await handler.func(service_call)


 "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 198, in handle_service

self._platforms.values(), func, call, required_features


 "/usr/src/homeassistant/homeassistant/helpers/service.py", line 402, in entity_service_call

future.result()
# pop exception if have


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 599, in async_request_call

await coro


 "/usr/src/homeassistant/homeassistant/helpers/service.py", line 433, in _handle_entity_call

await result


 "/config/custom_components/smartir/fan.py", line 224, in async_turn_on

await self.async_set_speed(speed)


 "/config/custom_components/smartir/fan.py", line 207, in async_set_speed

await self.send_command()


 "/config/custom_components/smartir/fan.py", line 239, in send_command

command = self._commands[direction][speed]
KeyError: 'default'`
