From 7bccc2eb4e9daa47604cebe3a872a9218d5b77bc Mon Sep 17 00:00:00 2001 From: "Yanze (David) Wu" <133224895+David-Wu1119@users.noreply.github.com> Date: Tue, 29 Sep 2026 16:33:11 -0400 Subject: [PATCH] Write the HomematicIP Cloud config dump in the executor (#183623) Co-authored-by: Claude Opus 5.5 --- homeassistant/components/homematicip_cloud/services.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/homematicip_cloud/services.py b/homeassistant/components/homematicip_cloud/services.py index 71f4bf11da12..07251209940a 100644 --- a/homeassistant/components/homematicip_cloud/services.py +++ b/homeassistant/components/homematicip_cloud/services.py @@ -332,7 +332,9 @@ async def _async_dump_hap_config(service: ServiceCall) -> None: json_state = await entry.runtime_data.home.download_configuration_async() json_state = handle_config(json_state, anonymize) - config_file.write_text(json_state, encoding="utf8") + await service.hass.async_add_executor_job( + config_file.write_text, json_state, "utf8" + ) async def _async_reset_energy_counter(service: ServiceCall):