Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/ban.py", line 72, in ban_middleware

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/auth.py", line 135, in auth_middleware

return await handler(request)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/view.py", line 123, in handle

result = await result


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/smart_home_http.py", line 119, in post

response = await async_handle_message(


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/smart_home.py", line 41, in async_handle_message

response = await funct_ref(hass, config, directive, context)


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/handlers.py", line 353, in async_api_set_percentage

await hass.services.async_call(


 "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/core.py", line 1194, in async_call

service = service.lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 763, in run

self.__target(*self.__args, **self.__kwargs)


 "/usr/local/lib/python2.7/dist-packages/grpc/_channel.py", line 701, in channel_spin

completed_call = event.tag(event)


 "/usr/local/lib/python2.7/dist-packages/grpc/_channel.py", line 174, in handle_event

callback()


 "/usr/local/lib/python2.7/dist-packages/grpc/_channel.py", line 313, in <lambda>

self._state.callbacks.append(lambda: fn(self))


 "/usr/local/lib/python2.7/dist-packages/opencensus/trace/ext/grpc/client_interceptor.py", line 122, in callback

self._tracer.end_span()


 "/usr/local/lib/python2.7/dist-packages/opencensus/trace/tracer.py", line 116, in end_span

self.tracer.end_span()


 "/usr/local/lib/python2.7/dist-packages/opencensus/trace/tracers/context_tracer.py", line 112, in end_span

self.exporter.export(span_json)


 "/usr/local/lib/python2.7/dist-packages/opencensus/trace/exporters/stackdriver_exporter.py", line 145, in export

self.transport.export(trace)


 "/usr/local/lib/python2.7/dist-packages/opencensus/trace/exporters/transports/sync.py", line 23, in export

self.exporter.emit(trace)


 "/usr/local/lib/python2.7/dist-packages/opencensus/trace/exporters/stackdriver_exporter.py", line 142, in emit

self.client.batch_write_spans(name, stackdriver_spans)


 "/usr/local/lib/python2.7/dist-packages/google/cloud/trace/client.py", line 104, in batch_write_spans

timeout=timeout)


 "/usr/local/lib/python2.7/dist-packages/google/cloud/trace/_gax.py", line 91, in batch_write_spans

timeout=timeout)


 "/usr/local/lib/python2.7/dist-packages/google/cloud/trace_v2/gapic/trace_service_client.py", line 187, in batch_write_spans

self._batch_write_spans(request, retry=retry, timeout=timeout)


 "/usr/local/lib/python2.7/dist-packages/google/api_core/gapic_v1/method.py", line 139, in __call__

return wrapped_func(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/google/api_core/grpc_helpers.py", line 54, in error_remapped_callable

return callable_(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/grpc/_interceptor.py", line 141, in __call__

return call_future.result()


 "/usr/local/lib/python2.7/dist-packages/grpc/_interceptor.py", line 110, in result

raise self._exception
AttributeError: 'NoopTracer' object has no attribute 'span_context'
