From c3483bf5bdb530fd6db25004302bf72ca7b6eb72 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 11 Sep 2026 12:18:28 +0200 Subject: [PATCH] Adjust service helper to not access DeviceEntry.config_entries (#181887) --- homeassistant/helpers/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/helpers/service.py b/homeassistant/helpers/service.py index a7b7f3842e55..9e4ea2a1b187 100644 --- a/homeassistant/helpers/service.py +++ b/homeassistant/helpers/service.py @@ -433,7 +433,7 @@ async def async_extract_config_entry_ids( if ( device := dev_reg.async_get(device_id, include_composite_devices=False) ) is not None: - config_entry_ids.update(device.config_entries) + config_entry_ids.add(device.config_entry_id) for entity_id in referenced.referenced | referenced.indirectly_referenced: entry = ent_reg.async_get(entity_id)