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

Implement native Improv discovery with frontend flow #4849

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

jpelgrom
Copy link
Member

Summary

  • Updates how discovered Improv devices are handled to submit info to the frontend so it can show a frontend discovery box, and the frontend can directly trigger the Connect to Wi-Fi screen of the native setup. Requires 2024.12+ / breaks backwards compatibility.
  • Fix permission explanation dialog showing even if all permissions are granted
  • Don't start Improv scanning while the app is in the background

Screenshots

Short video showing that after tapping on Devices & services, the device is discovered in a frontend discovery box, and tapping Add will trigger the native flow starting from the Wi-Fi step:

improvfrontendflow.mp4

Link to pull request in Documentation repository

n/a

Any other notes

 - Updates how discovered Improv devices are handled to submit info to the frontend so it can show a frontend discovery box, and the frontend can directly trigger the Connect to Wi-Fi screen of the native setup. Requires core 2024.12+
 - Fix permission explanation dialog showing even if all permissions are granted
 - Don't start Improv scanning while the app is in the background
@dshokouhi dshokouhi merged commit 51ae8b9 into home-assistant:master Nov 30, 2024
4 checks passed
@jpelgrom jpelgrom deleted the improv-frontend-flow branch November 30, 2024 18:26
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.

3 participants