mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Fix lying docstring in entity_platform (#117450)
This commit is contained in:
parent
13e2bc7b6f
commit
7f3d6fe1f0
@ -196,8 +196,8 @@ class EntityPlatform:
|
||||
to that number.
|
||||
|
||||
The default value for parallel requests is decided based on the first
|
||||
entity that is added to Home Assistant. It's 0 if the entity defines
|
||||
the async_update method, else it's 1.
|
||||
entity of the platform which is added to Home Assistant. It's 1 if the
|
||||
entity implements the update method, else it's 0.
|
||||
"""
|
||||
if self.parallel_updates_created:
|
||||
return self.parallel_updates
|
||||
|
Loading…
x
Reference in New Issue
Block a user