1
mirror of https://github.com/home-assistant/core synced 2024-07-30 21:18:57 +02:00
ha-core/homeassistant/components/growatt_server/const.py

21 lines
372 B
Python

"""Define constants for the Growatt Server component."""
CONF_PLANT_ID = "plant_id"
DEFAULT_PLANT_ID = "0"
DEFAULT_NAME = "Growatt"
SERVER_URLS = [
"https://server.growatt.com/",
"https://server-us.growatt.com/",
"http://server.smten.com/",
]
DEFAULT_URL = SERVER_URLS[0]
DOMAIN = "growatt_server"
PLATFORMS = ["sensor"]
LOGIN_INVALID_AUTH_CODE = "502"