From cddf63e4688055c8c350421c8915472ab296a9ff Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 3 Aug 2026 17:35:09 +0200 Subject: [PATCH] Remove via_device from brunt (#177862) --- homeassistant/components/brunt/cover.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index 5784b6d740de..3b4fd6c34bfb 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -38,7 +38,7 @@ async def async_setup_entry( coordinator = entry.runtime_data async_add_entities( - BruntDevice(coordinator, serial, thing, entry.entry_id) + BruntDevice(coordinator, serial, thing) for serial, thing in coordinator.data.items() ) @@ -64,20 +64,17 @@ class BruntDevice(CoordinatorEntity[BruntCoordinator], CoverEntity): coordinator: BruntCoordinator, serial: str | None, thing: Thing, - entry_id: str, ) -> None: """Init the Brunt device.""" super().__init__(coordinator) self._attr_unique_id = serial self._thing = thing - self._entry_id = entry_id self._remove_update_listener = None self._attr_device_info = DeviceInfo( identifiers={(DOMAIN, self._attr_unique_id)}, # type: ignore[arg-type] name=self._thing.name, - via_device=(DOMAIN, self._entry_id), manufacturer="Brunt", sw_version=self._thing.fw_version, model=self._thing.model,