1
mirror of https://github.com/home-assistant/core synced 2024-07-09 04:58:30 +02:00

Rename hass context variable (#89302)

This commit is contained in:
Erik Montnemery 2023-03-07 23:21:47 +01:00 committed by GitHub
parent 2d3c5cf8ee
commit aa2267d68e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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