From c1a03294010824281f644cd98f20c83bfd846f8a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Oct 2020 23:59:02 -0500 Subject: [PATCH] Update nexia to use async_add_executor_job (#41451) --- homeassistant/components/nexia/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/nexia/__init__.py b/homeassistant/components/nexia/__init__.py index 37a141407a4..54e6ddd92b3 100644 --- a/homeassistant/components/nexia/__init__.py +++ b/homeassistant/components/nexia/__init__.py @@ -87,7 +87,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): async def _async_update_data(): """Fetch data from API endpoint.""" - return await hass.async_add_job(nexia_home.update) + return await hass.async_add_executor_job(nexia_home.update) coordinator = DataUpdateCoordinator( hass,