From 32481065a832069b2543ae20474b23683ad04410 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 17 May 2023 06:06:52 -0500 Subject: [PATCH] Increase size of valid entity id cache (#93125) --- homeassistant/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/core.py b/homeassistant/core.py index 2806907f19f..8e88820bf70 100644 --- a/homeassistant/core.py +++ b/homeassistant/core.py @@ -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.