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

Add hide_switch option #60

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Add hide_switch option #60

wants to merge 6 commits into from

Conversation

Jimver
Copy link

@Jimver Jimver commented May 21, 2024

Add an option to hide the switch from HA using the internal property.

Default is "false" to keep behavior the same as before.

Jimver added 6 commits May 21, 2024 20:55
If you don't want the toggle to control the smart plug to show up in HA, set hide_switch to true. Useful if you only want to monitor but not control the smart plug.
Copy link
Author

@Jimver Jimver left a comment

Choose a reason for hiding this comment

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

Feel free to squash merge, was testing out some stuff in between commits

@felipecrs
Copy link

Why would someone enable this?

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