mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Attempt to fix flaky prometheus test (#61242)
This commit is contained in:
parent
9f15e7dcf4
commit
5169ee69c7
@ -45,11 +45,11 @@ async def prometheus_client(hass, hass_client, namespace):
|
|||||||
await async_setup_component(
|
await async_setup_component(
|
||||||
hass, climate.DOMAIN, {"climate": [{"platform": "demo"}]}
|
hass, climate.DOMAIN, {"climate": [{"platform": "demo"}]}
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
|
||||||
|
|
||||||
await async_setup_component(
|
await async_setup_component(
|
||||||
hass, humidifier.DOMAIN, {"humidifier": [{"platform": "demo"}]}
|
hass, humidifier.DOMAIN, {"humidifier": [{"platform": "demo"}]}
|
||||||
)
|
)
|
||||||
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
sensor1 = DemoSensor(
|
sensor1 = DemoSensor(
|
||||||
None, "Television Energy", 74, None, None, ENERGY_KILO_WATT_HOUR, None
|
None, "Television Energy", 74, None, None, ENERGY_KILO_WATT_HOUR, None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user