1 """Constants for the Weheat integration."""
3 from logging
import Logger, getLogger
6 MANUFACTURER =
"Weheat"
7 ENTRY_TITLE =
"Weheat cloud"
8 ERROR_DESCRIPTION =
"error_description"
11 "https://auth.weheat.nl/auth/realms/Weheat/protocol/openid-connect/auth/"
14 "https://auth.weheat.nl/auth/realms/Weheat/protocol/openid-connect/token/"
16 API_URL =
"https://api.weheat.nl"
17 OAUTH2_SCOPES = [
"openid",
"offline_access"]
22 LOGGER: Logger = getLogger(__package__)
24 DISPLAY_PRECISION_WATTS = 0
25 DISPLAY_PRECISION_COP = 1
26 DISPLAY_PRECISION_WATER_TEMP = 1