Fix lying docstring in entity_platform (#117450)

pull/117519/head
Erik Montnemery 2024-05-14 21:15:05 +02:00 committed by GitHub
parent 13e2bc7b6f
commit 7f3d6fe1f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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