haaska icon indicating copy to clipboard operation
haaska copied to clipboard

Alexa no longer working for cover

Open finity69x2 opened this issue 6 years ago • 3 comments

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.

finity69x2 avatar May 05 '18 16:05 finity69x2

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

trisk avatar May 05 '18 16:05 trisk

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.

finity69x2 avatar May 06 '18 14:05 finity69x2

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.

trisk avatar May 07 '18 02:05 trisk