1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Create quality_scale.yaml from integration scaffold script (#132199)

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>
This commit is contained in:
Matthias Alphart
2024-12-11 13:52:53 +01:00
committed by GitHub
parent 7103b7fd80
commit ecfa888918
7 changed files with 67 additions and 9 deletions

View File

@@ -1,11 +1,9 @@
"""application_credentials platform the NEW_NAME integration."""
"""Application credentials platform for the NEW_NAME integration."""
from homeassistant.components.application_credentials import AuthorizationServer
from homeassistant.core import HomeAssistant
# TODO Update with your own urls
OAUTH2_AUTHORIZE = "https://www.example.com/auth/authorize"
OAUTH2_TOKEN = "https://www.example.com/auth/token"
from .const import OAUTH2_AUTHORIZE, OAUTH2_TOKEN
async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: