mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +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.
|
to that number.
|
||||||
|
|
||||||
The default value for parallel requests is decided based on the first
|
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
|
entity of the platform which is added to Home Assistant. It's 1 if the
|
||||||
the async_update method, else it's 1.
|
entity implements the update method, else it's 0.
|
||||||
"""
|
"""
|
||||||
if self.parallel_updates_created:
|
if self.parallel_updates_created:
|
||||||
return self.parallel_updates
|
return self.parallel_updates
|
||||||
|
Loading…
x
Reference in New Issue
Block a user