Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[switch.js] Support force off and keep off #436

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 18, 2018

  1. [switch.js] Support force off and keep off

    - Add `forceOffAfter` in config to force the switch off after the
    configured duration (in second)
    - Add `keepOffDuration` in config to keep the swtich off until the
    configured duration's expiration (in second)
    - Add `onlyKeepOffWhenForcedTurnOff` in config. When set by `true`,
    `keepOffDuration` only applied if switch is foreced off by
    `forceOffAfter`
    tuaminx committed Sep 18, 2018
    Configuration menu
    Copy the full SHA
    1525af3 View commit details
    Browse the repository at this point in the history