mirror of
https://github.com/home-assistant/core.git
synced 2026-06-30 19:26:31 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
30 lines
675 B
Python
30 lines
675 B
Python
"""Constants for Tibber integration."""
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
from homeassistant.config_entries import ConfigEntry
|
|
|
|
if TYPE_CHECKING:
|
|
from . import TibberRuntimeData
|
|
|
|
type TibberConfigEntry = ConfigEntry[TibberRuntimeData]
|
|
|
|
|
|
AUTH_IMPLEMENTATION = "auth_implementation"
|
|
DATA_HASS_CONFIG = "tibber_hass_config"
|
|
DOMAIN = "tibber"
|
|
MANUFACTURER = "Tibber"
|
|
DATA_API_DEFAULT_SCOPES = [
|
|
"openid",
|
|
"profile",
|
|
"email",
|
|
"offline_access",
|
|
"data-api-user-read",
|
|
"data-api-chargers-read",
|
|
"data-api-energy-systems-read",
|
|
"data-api-homes-read",
|
|
"data-api-thermostats-read",
|
|
"data-api-vehicles-read",
|
|
"data-api-inverters-read",
|
|
]
|