Skip to content

Actions on Weather button?Β #468

@mariano-daniel

Description

@mariano-daniel

I'm having issues setting up an action on tap for weather button. I'm testing the following code:


  {
    "type": "weather",
    "align": "right",
    "refreshInterval": 300, // in seconds
    "icon_type": "images",
    "api_key": "ca93a0bb8cdb428552660d83249e4bc9",
    "bordered": false

    "actions": [
{
  "trigger": "singleTap",
  "action": "appleScript",
      "actionAppleScript": {"inline": "activate application \"Spotify\""},

}
]
},

But for some reason that crashes the weather button. My idea is to trim the apple script to show the Weather widget (two finger right slide) afterwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions