hass-core/homeassistant/components/enphase_envoy/const.py
Charles Garwood 92535277be
Add number platform & battery setpoint entities to Enphase integration (#98427)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-15 13:08:11 -05:00

16 lines
387 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)