From 3155ce1f531cc9e4d3c997cb2e5b6508f251e37e Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sun, 20 Jul 2025 11:12:05 +0000 Subject: [PATCH] use executor --- homeassistant/components/workday/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/workday/__init__.py b/homeassistant/components/workday/__init__.py index b7eef03f349..d4771aa62d2 100644 --- a/homeassistant/components/workday/__init__.py +++ b/homeassistant/components/workday/__init__.py @@ -265,8 +265,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: WorkdayConfigEntry) -> b await _async_validate_country_and_province(hass, entry, country, province) - entry.runtime_data = _get_obj_holidays( - country, province, year, language, categories + entry.runtime_data = await hass.async_add_executor_job( + _get_obj_holidays, country, province, year, language, categories ) add_remove_custom_holidays(