mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Rename hass context variable (#89302)
This commit is contained in:
parent
2d3c5cf8ee
commit
aa2267d68e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user