Group optimizer sensors under site device
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user