core/homeassistant/components/enphase_envoy/const.py

11 lines
330 B
Python

"""The enphase_envoy component."""
from pyenphase import EnvoyAuthenticationError, EnvoyAuthenticationRequired
from homeassistant.const import Platform
DOMAIN = "enphase_envoy"
PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.SWITCH]
INVALID_AUTH_ERRORS = (EnvoyAuthenticationError, EnvoyAuthenticationRequired)