auchter / haaska

Home Assistant Alexa Skill Adapter
263 stars 60 forks source link

Alexa no longer working for cover #113

Open finity69x2 opened 6 years ago

finity69x2 commented 6 years ago

I have a defined garage door cover component:

- platform: template
    covers:
      north_garage_door:
        friendly_name: 'North Garage Door'
        value_template: "{{ is_state('binary_sensor.garage_door_north_position_sensor', 'on') }}"
        open_cover:
          service: script.turn_on
          entity_id: script.open_gdn
        close_cover:
          service: script.turn_on
          entity_id: script.close_gdn
        stop_cover:
          service: switch.turn_on
          entity_id: switch.garage_door_north_operator_switch
        icon_template: "{% if not is_state('binary_sensor.garage_door_north_position_sensor', 'off') %}mdi:garage-open{% else %}mdi:garage{% endif %}"

it is exposed to the Echo using Haaska.

it is being seen in the Alexa app as a "home assistant cover"

But when I tell Alexa to “open” or “close” the north garage door, it replies with “north garage door doesn’t support that”.

All of the other devices exposed thru haaska still work.

I tried to hide it from haaska and expose it thru emulated_hue and then it gets seen as a “dimmable light” and i get the same response from Alexa.

Am I missing something? I thought that this worked at one time.

Any help at all would be appreciated.

trisk commented 6 years ago

Alexa doesn't support the "open/close" verbs for covers, those commands are reserved for activating skills. Try "turn on/off".

finity69x2 commented 6 years ago

Is that a recent change?

If you read the readme file for this skill it says that open or close is used to operate a cover.

I thought that it used to work that way too. Obviously I haven't used it in a while tho.

trisk commented 6 years ago

It's been this way for over a year (since before I started using haaska). The README is out of date, as the this implementation now that version 3 of the API has been out for a while now. I would suggest migrating to the v3 fork of haaska: https://github.com/mike-grant/haaska which uses the internal support for Alexa in Home Assistant.