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

Fix turnOn/turnOff methods for plugs and lights. #14

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

togiles
Copy link
Contributor

@togiles togiles commented Feb 17, 2024

These methods were inadvertently reversed, turnOn was turning things off and turnOff was turning things on.

Note: the README refers to general turnOn / turnOff methods which do not exist (at least not in the current version).

These methods were inadvertently reversed, turnOn was turning things off and turnOff was turning things on.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Message that will be displayed on users' first pull request

src/index.js Outdated Show resolved Hide resolved
@jfarmer08 jfarmer08 merged commit 16ada2a into jfarmer08:main Feb 18, 2024
4 checks passed
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