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

Pls add a new service to TOGGLE manual mode for an entity (ie if off make on, if on make off) #910

Open
ncd7 opened this issue Jan 26, 2024 · 2 comments

Comments

@ncd7
Copy link

ncd7 commented Jan 26, 2024

Currently we have a SET service which requires you to specify true or false whether you want to enable manual control or not.
If one wants to implement a button that 'toggles' manual control, you need to (1) enable attributes in switch sensor (2) parse the manual control to figure out if a room is manually controlled (3) set the boolean in the service call appropriately.

If we had a toggle service, we could avoid all of this and simply invoke it. I assume it's fairly trivial to implement based on the existing SET service so I'm marking this as an enhancement rather than a new feature.

Thank you for this wonderful integration!

@th3w1zard1
Copy link
Collaborator

FWIW this can already be done with an automation by parsing the integration entity's details. But I see the value of having an api call available.

@ncd7
Copy link
Author

ncd7 commented Apr 1, 2024

Correct, as I described above, it is not hard to add it myself but I think it would be useful as right now it requires a bit of parsing. It's just a convenience feature though so I doubt it's worth spending too much time on it.

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

No branches or pull requests

2 participants