From 8cd72586ec1c8b26c8223fc7b7157da63c1bab2a Mon Sep 17 00:00:00 2001 From: Erik Date: Wed, 7 May 2025 08:41:44 +0200 Subject: [PATCH] Reset cache in emulated_hue --- tests/components/emulated_hue/conftest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/components/emulated_hue/conftest.py b/tests/components/emulated_hue/conftest.py index e25a2099227..6d9dc12fb3f 100644 --- a/tests/components/emulated_hue/conftest.py +++ b/tests/components/emulated_hue/conftest.py @@ -2,7 +2,15 @@ import pytest +from homeassistant.components.emulated_hue.config import Config + @pytest.fixture(autouse=True, name="stub_blueprint_populate") def stub_blueprint_populate_autouse(stub_blueprint_populate: None) -> None: """Stub copying the blueprints to the config folder.""" + + +@pytest.fixture(autouse=True) +def reset_config_cache() -> None: + """Reset config cache.""" + Config.entity_id_to_number.cache_clear()