Group optimizer sensors under site device

This commit is contained in:
2026-08-10 11:59:29 +02:00
parent 2085316d1f
commit dc6b2dc71a
12 changed files with 102 additions and 44 deletions
@@ -20,6 +20,7 @@ from .api import (
)
from .const import (
CONF_SCAN_INTERVAL,
CONFIG_ENTRY_VERSION,
DEFAULT_PORT,
DEFAULT_SCAN_INTERVAL,
DOMAIN,
@@ -61,7 +62,7 @@ def _schema(defaults: dict[str, Any]) -> vol.Schema:
class SolarEdgeOptimizersConfigFlow(ConfigFlow, domain=DOMAIN):
"""Handle a config flow for SolarEdge Optimizers."""
VERSION = 1
VERSION = CONFIG_ENTRY_VERSION
def __init__(self) -> None:
"""Initialize the flow."""