Fix lying docstring in entity_platform (#117450)

This commit is contained in:
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

View File

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