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 device controls lock toggle action (invert) #3869

Closed

Conversation

jpelgrom
Copy link
Member

Summary

The active state for locks was changed to match the frontend, meaning that locked is now inactive. Update the device controls toggle action accordingly. Other toggles (qs, Wear) aren't affected as they use the entity state object to determine the call to use. Fixes #3867.

Screenshots

n/a

Link to pull request in Documentation repository

n/a

Any other notes

Copy link
Member

@dshokouhi dshokouhi left a comment

Choose a reason for hiding this comment

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

Totally missed this one :( thanks for the quick fix!

@dshokouhi
Copy link
Member

Lets hold off on merging this as it won't be valid if we merge #3862 once corrected

@jpelgrom
Copy link
Member Author

I'll just close this one, as we both agree reverting the active state for locks is the correct option here to match Android behavior for controls/other Android apps (also the frontend doesn't show locks as binary as Android).

@jpelgrom jpelgrom closed this Sep 17, 2023
@jpelgrom jpelgrom deleted the controls-lock-invert branch September 17, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't control locks via device controls since last update
2 participants