Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alexa SmartHome: Dry mode #25595

Closed
Thunderbird2086 opened this issue Jul 31, 2019 · 0 comments · Fixed by #28176
Closed

Alexa SmartHome: Dry mode #25595

Thunderbird2086 opened this issue Jul 31, 2019 · 0 comments · Fixed by #28176

Comments

@Thunderbird2086
Copy link

Thunderbird2086 commented Jul 31, 2019

Operating environment (Hass.io/Docker/Windows/etc.):
Hassbian

Component/platform:
alexa and climate

Description of problem:

User: Alexa, set aircon to dry
Alexa: Hm, Aircon is not responding.

Additional information:
It seems there are two different issues here.

The first is definition of component.alexa.const.API_THERMOSTAT_MODES. Per ThermostatMode, Alexa supports only AUTO, COOL, HEAT, ECO and OFF. However, Alexa actually sent CUSTOM for the dry mode as shown below.

'payload': {
   'thermostatMode': {
       'value': 'CUSTOM',
       'customName': 'DEHUMIDIFY'
   }
}

The second is Alexa response. Its error type is not listed on Alexa.ErrorResponse Interface. I think this is why Alexa said 'aircon is not responding'

'payload': {
  'type': 'UNSUPPORTED_THERMOSTAT_MODE',
  'message': 'The requested thermostat mode CUSTOM is not supported'
}

Please take a look and fix it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants