-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Ask users for a pin when interacting with locks/garage doors #23223
Conversation
Hey there @home-assistant/core, mind taking a look at this pull request as its been labeled with a integration ( This is a automatic comment generated by codeowners-mention to help ensure issues and pull requests are seen by the right people. |
Codecov Report
@@ Coverage Diff @@
## dev #23223 +/- ##
==========================================
- Coverage 94.17% 94.17% -0.01%
==========================================
Files 457 457
Lines 37095 37126 +31
==========================================
+ Hits 34935 34962 +27
- Misses 2160 2164 +4
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## dev #23223 +/- ##
==========================================
- Coverage 94.17% 94.17% -0.01%
==========================================
Files 457 457
Lines 37095 37126 +31
==========================================
+ Hits 34935 34962 +27
- Misses 2160 2164 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
google_secure_devices_pin
is very long, maybe google_devices_pin
would be enough to hold the code short
* Ask users for a pin when interacting with locks/garage doors * Deprecate allow_unlock option
@balloob is google requiring this change? While the feature is nice to have, I’m not a fan of being forced to use a pin. Is there a way to make the pin optional? Regardless, how is one supposed to use the pin? What is the syntax to unlock “Front Door” with pin 1234?
|
has anyone got this to work? my google just asks for the code then says, "I looked but this can't be played at this time" this is beyond frustrating thanks google |
I got it to work just by adding my cover.garage_door entity to the include_entities section. However even after setting a pin, it never asks me for it, but rather carries on doing the action. Security flaw there. |
Please open an issue if you suspect a bug. If you need help please use our help channels: Merged PRs should not be used for support or bug reports. Thanks! |
Breaking Change:
The
allow_unlock
option has been removed for both Cloud and manual Google Assistant installations. Instead, you need to define a pin. Google Cloud users can do this in the cloud preferences UI. Manual installation will have to addsecure_devices_pin
to their config.Description:
This replaces the
allow_unlock
toggle with the official approach to interacting with secure devices via Google Assistant: 2FA using a pin challenge.This change has been requested by Google hence tagged for 0.92.
Related issue (if applicable): fixes #23219
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Checklist:
tox
. Your PR cannot be merged unless tests passIf the code does not interact with devices: