2021-04-05 08:11:06 +00:00
|
|
|
"""The enphase_envoy component."""
|
2024-03-08 13:15:26 +00:00
|
|
|
|
2023-08-10 12:27:03 +00:00
|
|
|
from pyenphase import EnvoyAuthenticationError, EnvoyAuthenticationRequired
|
2023-08-06 00:51:19 +00:00
|
|
|
|
2023-07-22 14:59:15 +00:00
|
|
|
from homeassistant.const import Platform
|
2021-04-05 08:11:06 +00:00
|
|
|
|
|
|
|
DOMAIN = "enphase_envoy"
|
|
|
|
|
2023-08-15 18:08:11 +00:00
|
|
|
PLATFORMS = [
|
|
|
|
Platform.BINARY_SENSOR,
|
|
|
|
Platform.NUMBER,
|
|
|
|
Platform.SELECT,
|
|
|
|
Platform.SENSOR,
|
|
|
|
Platform.SWITCH,
|
|
|
|
]
|
2023-08-06 00:51:19 +00:00
|
|
|
|
|
|
|
INVALID_AUTH_ERRORS = (EnvoyAuthenticationError, EnvoyAuthenticationRequired)
|