mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Convert last remaining async_add_job in light to async_add_executor_job (#41518)
This commit is contained in:
parent
1c431aa7bd
commit
a8a2109cef
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user