1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-04 21:25:26 +01:00
Files
core/homeassistant/components/enphase_envoy/const.py
T

27 lines
672 B
Python

"""The enphase_envoy component."""
from pyenphase import EnvoyAuthenticationError, EnvoyAuthenticationRequired
from homeassistant.const import Platform
DOMAIN = "enphase_envoy"
PLATFORMS = [
Platform.BINARY_SENSOR,
Platform.NUMBER,
Platform.SELECT,
Platform.SENSOR,
Platform.SWITCH,
]
INVALID_AUTH_ERRORS = (EnvoyAuthenticationError, EnvoyAuthenticationRequired)
SETUP_RETRY_TIMEOUT = 50
OPERATIONAL_RETRY_TIMEOUT = 200
OPTION_DIAGNOSTICS_INCLUDE_FIXTURES = "diagnostics_include_fixtures"
OPTION_DIAGNOSTICS_INCLUDE_FIXTURES_DEFAULT_VALUE = False
OPTION_DISABLE_KEEP_ALIVE = "disable_keep_alive"
OPTION_DISABLE_KEEP_ALIVE_DEFAULT_VALUE = False