Had to reinstall Home Assistant (0.92.1 - Hassbian - Raspberry Pi3) (twice) and have not been able to log back into the Home Assistant Cloud. User name and password are correct. When I go to the Nabu Casa page I can log in and my account shows as active.
I can trigger scripts via the web interface and send TTS messages to Alexa via the Alexa_Media component but I can’t trigger anything via Alexa …
I’ve been trying to sort this out since this morning and whatever I do - it just doesn’t work …
I get the following error messages in my log file:
2019-04-27 20:34:06 ERROR (MainThread) [homeassistant.components.cloud.http_api] Unexpected error processing request for /api/cloud/login
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/http_api.py”, line 117, in error_handler
result = await handler(view, request, *args, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/data_validator.py”, line 46, in wrapper
result = await method(view, request, *args, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/http_api.py”, line 197, in post
data[‘password’])
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/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/hass_nabucasa/auth.py”, line 134, in login
cognito = self._authenticate(email, password)
File “/srv/homeassistant/lib/python3.5/site-packages/hass_nabucasa/auth.py”, line 180, in _authenticate
cognito = self._cognito(username=email)
File “/srv/homeassistant/lib/python3.5/site-packages/hass_nabucasa/auth.py”, line 200, in _cognito
**kwargs
File “/srv/homeassistant/lib/python3.5/site-packages/warrant/init.py”, line 172, in init
self.client = boto3.client(‘cognito-idp’, **boto3_client_kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/boto3/init.py”, line 91, in client
return _get_default_session().client(*args, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/boto3/session.py”, line 263, in client
aws_session_token=aws_session_token, config=config)
File “/srv/homeassistant/lib/python3.5/site-packages/botocore/session.py”, line 838, in create_client
client_config=config, api_version=api_version)
File “/srv/homeassistant/lib/python3.5/site-packages/botocore/client.py”, line 79, in create_client
service_model = self._load_service_model(service_name, api_version)
File “/srv/homeassistant/lib/python3.5/site-packages/botocore/client.py”, line 117, in _load_service_model
api_version=api_version)
File “/srv/homeassistant/lib/python3.5/site-packages/botocore/loaders.py”, line 132, in _wrapper
data = func(self, *args, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/botocore/loaders.py”, line 378, in load_service_model
known_service_names=’, '.join(sorted(known_services)))
botocore.exceptions.UnknownServiceError: Unknown service: ‘cognito-idp’. Valid service names are: acm, acm-pca, alexaforbusiness, amplify, apigateway, apigatewaymanagementapi, apigatewayv2, …