homebridge-cmdtrigger
homebridge-cmdtrigger copied to clipboard
Feature Request: Allow stateful to RUN command/pass state TO command.
Currently, if set to statueful.. the command does not run.
Also, it would be nice if we could access the state of the stateful switch FROM the executed command.
For example
"accessories": [
{
"accessory": "CmdTrigger",
"name": "Stafeful Switch",
"command": "echo $1 ",
"stateful": "true",
}
]
Added the feature on pull request !13