Add system generated users (#15291)
* Add system generated users * Fix typing
This commit is contained in:
parent
a6e9dc81aa
commit
cb129bd207
7 changed files with 149 additions and 102 deletions
|
@ -34,5 +34,5 @@ def hass_access_token(hass):
|
|||
no_secret=True,
|
||||
))
|
||||
refresh_token = hass.loop.run_until_complete(
|
||||
hass.auth.async_create_refresh_token(user, client.id))
|
||||
hass.auth.async_create_refresh_token(user, client))
|
||||
yield hass.auth.async_create_access_token(refresh_token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue