Skip to content

Checking State and Invoking Opposite #8

Description

@dhess83

Richard, Thank you very much for your awesome work.

Sorry if this is a dumb question, but is there a command to toggle a generic z-wave dual state switch to its opposite state?

For example, I know I can do smartthings_cli.py set switch "Bedroom" off or smartthings_cli.py set switch "Bedroom" on
...but is it possible to do something like smartthings_cli.py set switch "Bedroom" switchstates? Or could there be a command for smartthings_cli to poll the state, then issue the opposite command?

Activity

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

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