mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Add names to common helper tasks (#90803)
This commit is contained in:
@@ -114,7 +114,9 @@ class EntityComponent(Generic[_EntityT]):
|
||||
|
||||
This doesn't block the executor to protect from deadlocks.
|
||||
"""
|
||||
self.hass.add_job(self.async_setup(config))
|
||||
self.hass.create_task(
|
||||
self.async_setup(config), f"EntityComponent setup {self.domain}"
|
||||
)
|
||||
|
||||
async def async_setup(self, config: ConfigType) -> None:
|
||||
"""Set up a full entity component.
|
||||
|
||||
Reference in New Issue
Block a user