mirror of
https://github.com/home-assistant/core.git
synced 2025-11-24 10:16:58 +00:00
Add tradfri device info (#16768)
This commit is contained in:
committed by
Pascal Vizeli
parent
a0a54dfd5b
commit
3e59ffb33a
@@ -11,7 +11,8 @@ from .const import DOMAIN
|
||||
def initialize(hass, client_id, client_secret):
|
||||
"""Initialize a local auth provider."""
|
||||
config_flow.register_flow_implementation(
|
||||
hass, DOMAIN, 'local', partial(generate_auth_url, client_id),
|
||||
hass, DOMAIN, 'configuration.yaml',
|
||||
partial(generate_auth_url, client_id),
|
||||
partial(resolve_auth_code, hass, client_id, client_secret)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user