home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.15k stars 29.83k forks source link

Alexa - Homeassistant Cloud - Climate\Daikin thermostat #17874

Closed stich86 closed 5 years ago

stich86 commented 5 years ago

Home Assistant release with the issue: 0.81

Last working Home Assistant release (if known): N/A

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

Component/platform: climate + daiking platform

Description of problem:

I'm trying to use Alexa implementation to command my Daikin AC. Currently i've three AC units, each one if correctly recognized (an can be comanded by HA and Siri, but not from GA and Alexa) by Alexa but when i try to enter the thermostat i got "No response" from Alexa and this error in the HA log:


2018-10-27 12:21:48 ERROR (MainThread) [homeassistant.components.alexa.smart_home] climate.cameretta (<class 'homeassistant.core.State'>) has un
supported operation_mode value 'off'
2018-10-27 12:21:48 ERROR (MainThread) [homeassistant.components.cloud.iot] Error handling message
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/iot.py", line 167, in _handle_connection
    hass, self.cloud, msg['handler'], msg['payload'])
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/iot.py", line 223, in async_handle_message
    return (yield from handler(hass, cloud, payload))
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/iot.py", line 234, in async_handle_alexa
    hass, cloud.alexa_config, payload)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/alexa/smart_home.py", line 730, in async_handle_message
    response = await funct_ref(hass, config, request, context)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/alexa/smart_home.py", line 872, in async_api_entity_wrapper
    return await funct(hass, config, request, context, entity)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/alexa/smart_home.py", line 1534, in async_api_reportstate
    properties.extend(interface.serialize_properties())
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/alexa/smart_home.py", line 276, in serialize_properties
    prop_value = self.get_property(prop_name)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/alexa/smart_home.py", line 449, in get_property
    raise _UnsupportedProperty(name)
homeassistant.components.alexa.smart_home._UnsupportedProperty: thermostatMode

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

fredrike commented 5 years ago

This does not seem to be related to Daikin but more to the general implementation of component.climate.

stich86 commented 5 years ago

And so? I’ve updated to the latest 0.82 but the problem still persist.

coolweb commented 5 years ago

I have the same error with evohome climate component, I see that the climate have state manual, and alexa doesn't support this thermostat mode, if I set the climate device to auto, it works with alexa. https://developer.amazon.com/docs/device-apis/alexa-property-schemas.html#thermostat-mode See this discussion: https://community.home-assistant.io/t/refactored-honeywell-evohome-custom-component-eu-only/59733/233

mcc05 commented 5 years ago

I had the same problem when developing a thermostat for hysen type ones. The modes that Alexa seems to understand it AUTO,HEAT,OFF, where HEAT is eq to MANUAL

stale[bot] commented 5 years ago

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.