I just updated my entire Hass.io to use the new auth token method, which meant my old working version of Haaska running on 0.99 was surely to break.
Ive updated my haaska according to the guide, but getting errors on the test. Ive made sure im using the new v3 test not the old one.
Labmda Console:
“errorMessage”: “500 Server Error: Internal Server Error for url: https://myha.duckdns.org/api/alexa/smart_home”,
“errorType”: “HTTPError”,
Hass.IO Logs:
2019-11-21 22:01:27 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/real_ip.py”, line 40, in real_ip_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 136, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 122, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/alexa/smart_home_http.py”, line 114, in post
hass, self.smart_home_config, message, context=core.Context(user_id=user.id)
File “/usr/src/homeassistant/homeassistant/components/alexa/smart_home.py”, line 41, in async_handle_message
response = await funct_ref(hass, config, directive, context)
File “/usr/src/homeassistant/homeassistant/components/alexa/handlers.py”, line 73, in async_api_discovery
for alexa_entity in async_get_entities(hass, config)
File “/usr/src/homeassistant/homeassistant/components/alexa/handlers.py”, line 74, in
if config.should_expose(alexa_entity.entity_id)
File “/usr/src/homeassistant/homeassistant/components/alexa/entities.py”, line 220, in serialize_discovery
“capabilities”: [i.serialize_discovery() for i in self.interfaces()],
File “/usr/src/homeassistant/homeassistant/components/alexa/entities.py”, line 220, in
“capabilities”: [i.serialize_discovery() for i in self.interfaces()],
File “/usr/src/homeassistant/homeassistant/components/alexa/capabilities.py”, line 152, in serialize_discovery
configuration = self.configuration()
File “/usr/src/homeassistant/homeassistant/components/alexa/capabilities.py”, line 755, in configuration
for mode in preset_modes:
TypeError: ‘NoneType’ object is not iterable
Just upgraded to HA 102.0. Is anyone got this version of Haaska working on HA 102.0 ?