Move entity_registry_enabled_by_default to decorator [a-p] (#118794)

This commit is contained in:
epenet
2024-06-04 16:18:42 +02:00
committed by GitHub
parent 089874f818
commit 3d31af3eb4
32 changed files with 111 additions and 125 deletions

View File

@@ -999,10 +999,10 @@ async def test_coordinator_updates(
assert "Error on Supervisor API: Unknown" in caplog.text
@pytest.mark.usefixtures("entity_registry_enabled_by_default")
async def test_coordinator_updates_stats_entities_enabled(
hass: HomeAssistant,
caplog: pytest.LogCaptureFixture,
entity_registry_enabled_by_default: None,
) -> None:
"""Test coordinator updates with stats entities enabled."""
await async_setup_component(hass, "homeassistant", {})