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

Support for Thread "import credentials" from frontend #4128

Merged

Conversation

jpelgrom
Copy link
Member

Summary

Support the frontend thread/import_credentials action, shown as a button on the Thread config page, which will export the preferred Thread credential from the device (if the device doesn't prefer a HA credential) to the server.

This partially re-uses the existing Thread credential sync logic from Matter commissioning.

Screenshots

Video showing the flow, first denying the permission/failure and then success:

thread-import.mp4

Link to pull request in Documentation repository

n/a

Any other notes

 - Add support for the frontend action to import Thread credentials, or better said export Thread credentials from the device. This is essentially a very basic sync.
 - Change names and order of reused Matter code for Thread importing to prevent potential confusion
@jpelgrom jpelgrom marked this pull request as ready for review January 11, 2024 21:22
@jpelgrom jpelgrom force-pushed the thread-import-credentials-frontend branch from e72dbf2 to d65285e Compare January 11, 2024 21:40
@JBassett JBassett merged commit a5efe6a into home-assistant:master Jan 12, 2024
4 checks passed
@jpelgrom jpelgrom deleted the thread-import-credentials-frontend branch January 12, 2024 14:32
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.

None yet

2 participants