We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa31df0 commit 099edfaCopy full SHA for 099edfa
tests/components/flux_led/test_init.py
@@ -238,8 +238,10 @@ async def test_time_sync_startup_and_next_day(hass: HomeAssistant) -> None:
238
assert config_entry.state is ConfigEntryState.LOADED
239
240
assert len(bulb.async_set_time.mock_calls) == 1
241
- async_fire_time_changed(hass, utcnow() + timedelta(hours=24))
242
- await hass.async_block_till_done()
+
+ with _patch_discovery(), _patch_wifibulb(device=bulb):
243
+ async_fire_time_changed(hass, utcnow() + timedelta(hours=24))
244
+ await hass.async_block_till_done()
245
assert len(bulb.async_set_time.mock_calls) == 2
246
247
0 commit comments