Don't pass in loop (#23984)
* Don't pass in loop * Revert some changes * Lint + Axis revert * reinstate loop * Fix a test * Set loop * Update camera.py * Lint
This commit is contained in:
parent
9e96397e6a
commit
f995ab9d54
117 changed files with 179 additions and 187 deletions
|
@ -209,7 +209,7 @@ async def test_platform_error_slow_setup(hass, caplog):
|
|||
|
||||
async def setup_platform(*args):
|
||||
called.append(1)
|
||||
await asyncio.sleep(1, loop=hass.loop)
|
||||
await asyncio.sleep(1)
|
||||
|
||||
platform = MockPlatform(async_setup_platform=setup_platform)
|
||||
component = EntityComponent(_LOGGER, DOMAIN, hass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue