house-of-abbey / GarminHomeAssistant

Garmin application to provide a dashboard to control your Home Assistant
https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348
MIT License
79 stars 12 forks source link

Confirm on type "tap" not working #90

Closed jcastang closed 7 months ago

jcastang commented 7 months ago

Hello,

Do not know if this is normal or not but adding a confirm on a tap action do not work (at least for me).

   {
      "entity": "cover.portail",
      "name": "Ouvrir Portail",
      "type": "tap",
      "tap_action": {
        "service": "cover.open_cover"
        "confirm": true
      }
    },

Am I missing something ? This lead to JSON not beeing read (Unavailable).

"Toggle" cannot be an option as entity do not report state an is only usable via a service.

philipabbey commented 7 months ago

Yep! A comma.

Please perform a schema check on your JSON before raising an issue.

See https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/README.md#dashboard-definition for advice.