1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Always setup demo platforms with device support from config entry (#94586)

* Always setup demo platforms with device support from config entry

* Adjust test fixutres

* Update tests depending on the demo integration
This commit is contained in:
Erik Montnemery
2023-06-14 16:50:35 +02:00
committed by GitHub
parent 1b8c72e644
commit 9a3077d64a
54 changed files with 491 additions and 351 deletions

View File

@@ -25,7 +25,7 @@ ENTITY_SIREN_WITH_ALL_FEATURES = "siren.siren_with_all_features"
@pytest.fixture(autouse=True)
async def setup_demo_siren(hass):
async def setup_demo_siren(hass, disable_platforms):
"""Initialize setup demo siren."""
assert await async_setup_component(hass, DOMAIN, {"siren": {"platform": "demo"}})
await hass.async_block_till_done()