Skip to content

feat: add com.hef.statetoggle — State Toggle#24

Open
Mizuna737 wants to merge 1 commit into
OpenActionAPI:mainfrom
Mizuna737:add-com-hef-statetoggle
Open

feat: add com.hef.statetoggle — State Toggle#24
Mizuna737 wants to merge 1 commit into
OpenActionAPI:mainfrom
Mizuna737:add-com-hef-statetoggle

Conversation

@Mizuna737

Copy link
Copy Markdown

Plugin

State Toggle (com.hef.statetoggle) — a generic N-state shell-command toggle for OpenDeck/OpenAction.

What it does

Maps N states onto a single button. State is read by running a shell command and matching its stdout; each state defines its own write command and optional icon (loaded at runtime from a PNG path). Ships with three watch modes (Subscribe, Poll, None) and optional long-press support.

Changes

  • Added com.hef.statetoggle entry to catalogue.json
  • Added icons/com.hef.statetoggle.png (288×288 PNG)

@Terrorwolf01

Copy link
Copy Markdown

Why not use a Toggle Action with multiple Run commands? That should be the exact same behaviour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants