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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 491 additions and 351 deletions

View file

@ -14,7 +14,7 @@ ENTITY_WATER_HEATER_CELSIUS = "water_heater.demo_water_heater_celsius"
@pytest.fixture(autouse=True)
async def setup_comp(hass):
async def setup_comp(hass, disable_platforms):
"""Set up demo component."""
hass.config.units = US_CUSTOMARY_SYSTEM
assert await async_setup_component(