MyQ Open Garage not working - custom card

If I actually click on the myq entity, and I can open and close it from there (all within HA).
I am creating a dashboard and wanted one button that changed icons if it was closed or opened.
Using custom cards.
I can CLOSE the garage door with that button, but I am unable to open it.
I tried just a single tap to open with no other actions, nothing.
Added the single tap to close and that works.
added double tap to open, still nothing.

Is there a security piece I am missing?

type: custom:button-card
entity: cover.garage_door
double_tap_action:
  action: call-service
  serivice: cover.open_cover
  service_data:
    entity_id: cover.garage_door
show_state: true
state:
  - value: closed
    icon: mdi:garage-variant
  - value: open
    icon: mdi:garage-open-variant
tap_action:
  action: call-service
  service: cover.close_cover
  service_data:
    entity_id: cover.garage_door

typo

But why not set it to toggle, on a single tap?

2 Likes

I am new at this and did not know you could do that.
what is the correct syntax for toggle?

service: cover.toggle
target:
  entity_id: cover.kitchen_blind

You can make the obvious adaptations to match what you used previously.

You can see in Developer Tools what all the available service calls are, put them together using the UI, test and then add to your yaml.

1 Like