ha-inlite

Home Assistant integration for in-lite
git clone https://git.stephank.nl/ha-inlite
Log | Files | Refs | README | LICENSE | ZIP

commit 6a8b7e55def725cbb89f98d7715d8a8e19781fd8
parent 98f83d58cc11dc8d209fd351febf4f2b4e7a4bd4
Author: Stéphan Kochen <git@stephank.nl>
Date: Thu, 03 Sep 2026 22:17:23 +0200

Do not assign in-lite hubs to an area

diff --git a/custom_components/inlite/light.py b/custom_components/inlite/light.py index 7b1f62ecfd325ad523cf0c4c66b6789b7d8d910e..a2de9097d6506f18533590fad30862bd6059ac33 100644 --- a/custom_components/inlite/light.py +++ b/custom_components/inlite/light.py @@ -15,7 +15,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.update_coordinator import CoordinatorEntity from . import InliteConfigEntry -from .const import CONF_GARDEN_ID, CONF_GARDEN_NAME, CONF_TRANSFORMERS, DOMAIN +from .const import CONF_GARDEN_ID, CONF_TRANSFORMERS, DOMAIN from .coordinator import InliteCoordinator _LOGGER = logging.getLogger(__name__) @@ -29,7 +29,6 @@ ) -> None: """Set up in-lite light entities from a config entry.""" coordinator = entry.runtime_data garden_id = entry.data[CONF_GARDEN_ID] - garden_name = entry.data[CONF_GARDEN_NAME] entities: list[InliteLightEntity] = [] for tx_data in entry.data[CONF_TRANSFORMERS]: @@ -45,7 +44,6 @@ entities.append( InliteLightEntity( coordinator=coordinator, garden_id=garden_id, - garden_name=garden_name, device_id=device_id, tx_name=tx_name, firmware=firmware, @@ -69,7 +67,6 @@ def __init__( self, coordinator: InliteCoordinator, garden_id: str, - garden_name: str, device_id: int, tx_name: str, firmware: Any, @@ -90,7 +87,6 @@ name=tx_name, manufacturer="in-lite", model=tx_name, sw_version=str(firmware), - suggested_area=garden_name, ) @property