diff --git a/tests/components/prometheus/test_init.py b/tests/components/prometheus/test_init.py index f9f6ebbf0f5..df8c07bfc73 100644 --- a/tests/components/prometheus/test_init.py +++ b/tests/components/prometheus/test_init.py @@ -45,11 +45,11 @@ async def prometheus_client(hass, hass_client, namespace): await async_setup_component( hass, climate.DOMAIN, {"climate": [{"platform": "demo"}]} ) - await hass.async_block_till_done() await async_setup_component( hass, humidifier.DOMAIN, {"humidifier": [{"platform": "demo"}]} ) + await hass.async_block_till_done() sensor1 = DemoSensor( None, "Television Energy", 74, None, None, ENERGY_KILO_WATT_HOUR, None