mirror of
https://github.com/home-assistant/core
synced 2024-09-09 12:51:22 +02:00
![Bram Kragten](/assets/img/avatar_default.png)
Co-authored-by: Franck Nijhof <git@frenck.dev> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
13 lines
308 B
Python
13 lines
308 B
Python
"""Support for my.home-assistant.io redirect service."""
|
|
|
|
DOMAIN = "my"
|
|
URL_PATH = "_my_redirect"
|
|
|
|
|
|
async def async_setup(hass, config):
|
|
"""Register hidden _my_redirect panel."""
|
|
hass.components.frontend.async_register_built_in_panel(
|
|
DOMAIN, frontend_url_path=URL_PATH
|
|
)
|
|
return True
|