mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Convert last remaining async_add_job in light to async_add_executor_job (#41518)
This commit is contained in:
@@ -343,7 +343,7 @@ class Profiles:
|
||||
return None
|
||||
return profiles
|
||||
|
||||
cls._all = await hass.async_add_job(load_profile_data, hass)
|
||||
cls._all = await hass.async_add_executor_job(load_profile_data, hass)
|
||||
return cls._all is not None
|
||||
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user