Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
marco79cgn authored Sep 14, 2022
1 parent a39f62d commit 635db44
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions sonos-group-button.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: orange; icon-glyph: plus-circle;
let widget = await createWidget()
Script.setWidget(widget)
Script.complete()
// widget.presentSmall()

async function createWidget() {
let widget = new ListWidget()
// load symbol image
let symbolSpeaker = widget.addImage(SFSymbol.named("hifispeaker.2").image)
symbolSpeaker.imageSize = new Size(45,45)
symbolSpeaker.centerAlignImage()

return widget
}

// Use this icon in your lock screen and assign a the SonosBot Shortcut to it from the Soro app (which I slightly modified).

0 comments on commit 635db44

Please sign in to comment.