Convert last remaining async_add_job in light to async_add_executor_job (#41518)
This commit is contained in:
1 parent
1c431aa7bd
commit
a8a2109cef
1 file changed
+1
-1
@@ -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