Skip to content

Add state toggling for switch#189

Open
ctaepper wants to merge 4 commits into
benzman81:masterfrom
ctaepper:master
Open

Add state toggling for switch#189
ctaepper wants to merge 4 commits into
benzman81:masterfrom
ctaepper:master

Conversation

@ctaepper

Copy link
Copy Markdown

This PR adds logic to the switch to toggle state instead of sending a fixed state=true or state=false. Now you can send state=toggle in order to make the switch go into the other state

Solves #177

@ctaepper

Copy link
Copy Markdown
Author

it would probably make sense to add this logic to all boolean accessories...

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.

1 participant