Allow passing an optional name to async_track_time_interval (#90244)
* Allow passing an optional name to async_track_time_interval This is the same idea as passing a name to asyncio.create_task which makes it easier to track down bugs * more * short * still cannot find it * add a few more * test
This commit is contained in:
parent
52a94dd2ac
commit
02ef7d445d
15 changed files with 79 additions and 17 deletions
|
@ -479,6 +479,7 @@ class EntityPlatform:
|
|||
self.hass,
|
||||
self._update_entity_states,
|
||||
self.scan_interval,
|
||||
f"EntityPlatform poll {self.domain}.{self.platform_name}",
|
||||
)
|
||||
|
||||
def _entity_id_already_exists(self, entity_id: str) -> tuple[bool, bool]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue