mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Rename hass context variable (#89302)
This commit is contained in:
@@ -149,7 +149,7 @@ MAX_EXPECTED_ENTITY_IDS = 16384
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
_cv_hass: ContextVar[HomeAssistant] = ContextVar("current_entry")
|
||||
_cv_hass: ContextVar[HomeAssistant] = ContextVar("hass")
|
||||
|
||||
|
||||
@functools.lru_cache(MAX_EXPECTED_ENTITY_IDS)
|
||||
|
||||
Reference in New Issue
Block a user