mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Increase size of valid entity id cache (#93125)
This commit is contained in:
parent
f564a0ca24
commit
32481065a8
@ -174,7 +174,7 @@ def valid_domain(domain: str) -> bool:
|
||||
return VALID_DOMAIN.match(domain) is not None
|
||||
|
||||
|
||||
@functools.lru_cache(64)
|
||||
@functools.lru_cache(512)
|
||||
def valid_entity_id(entity_id: str) -> bool:
|
||||
"""Test if an entity ID is a valid format.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user