Home Assistant release with the issue:
0.82.1
Last working Home Assistant release (if known):
n/a
Operating environment (Hass.io/Docker/Windows/etc.):
Debian Linux / Python Virtual Env (x86)
Component/platform:
https://www.home-assistant.io/components/alexa/#smart-home
Description of problem:
I have added a cover via the smart_home Alexa component and created a Skill with haaska. Sending commands from Alexa to HomeAssistant works (the cover is set to the requested position). However, Alexa always answers with "I'm not quite sure what went wrong".
When looking at the logs, it seems that the HA Alexa component returns a wrong response: The properties of the response contain the values for namespace Alexa.PowerController instead the properties for the namespace Alexa.PercentageController:
2018-11-25 18:53:21 DEBUG (MainThread) [homeassistant.components.alexa.smart_home] Received Alexa Smart Home request: {'directive': {'header': {'payloadVersion': '3', 'correlationToken': 'xxx', 'name': 'AdjustPercentage', 'namespace': 'Alexa.PercentageController', 'messageId': 'xxx'}, 'endpoint': {'scope': {'token': 'xxx', 'type': 'BearerToken'}, 'cookie': {}, 'endpointId': 'cover#oeq0983864'}, 'payload': {'percentageDelta': -25}}}
2018-11-25 18:53:21 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=cover, service=set_cover_position, service_call_id=98120b4af3c143bc825a840fedebf784, service_data=entity_id=cover.oeq0983864, position=0>
2018-11-25 18:53:21 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event alexa_smart_home[L]: response=name=Response, namespace=Alexa, request=entity_id=cover.oeq0983864, name=AdjustPercentage, namespace=Alexa.PercentageController>
2018-11-25 18:53:21 DEBUG (MainThread) [homeassistant.components.alexa.smart_home] Sending Alexa Smart Home response: {'event': {'header': {'payloadVersion': '3', 'correlationToken': 'xxx', 'name': 'Response', 'namespace': 'Alexa', 'messageId': 'xxx'}, 'endpoint': {'scope': {'token': 'xxx', 'type': 'BearerToken'}, 'cookie': {}, 'endpointId': 'cover#oeq0983864'}, 'payload': {}}, 'context': {'properties': [{'value': 'OFF', 'name': 'powerState', 'namespace': 'Alexa.PowerController'}]}}
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
alexa:
smart_home:
filter:
include_entities:
- cover.OEQ0983864
Traceback (if applicable):
Additional information:
Related documentation:
https://developer.amazon.com/de/docs/device-apis/alexa-percentagecontroller.html
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:
Yes, issue still exists in HomeAssistant v0.87.1
Same issue with alexa cloud. v0.88.0
Same Problem for me
Problem still exists on 0.90.2
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Problem is resolved for a few weeks already. This ticket should be closed