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

Best effort to reflect state in custom widget after interaction #3415

Merged
merged 6 commits into from
Feb 6, 2025

Conversation

bgoncal
Copy link
Member

@bgoncal bgoncal commented Feb 6, 2025

Summary

Since an entity not always reflect its state right away after being toggled and at the same time refreshing the widget through push notification is not something reliable at the moment in iOS, this PR does the best effort to reflect the state in the widget after an interaction by adding a delay.

"Haptic" was also added.

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

@bgoncal bgoncal added the widgets label Feb 6, 2025
@bgoncal bgoncal self-assigned this Feb 6, 2025
@bgoncal bgoncal enabled auto-merge (squash) February 6, 2025 15:53
@bgoncal bgoncal merged commit 3a709db into master Feb 6, 2025
9 checks passed
@bgoncal bgoncal deleted the delay-widget-exec-2 branch February 6, 2025 19:57
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.

1 participant