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:
Paulus Schoutsen 2019-05-22 21:09:59 -07:00 committed by GitHub
parent 9e96397e6a
commit f995ab9d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
117 changed files with 179 additions and 187 deletions

View file

@ -92,7 +92,7 @@ async def async_setup(hass, config):
'utf-8')
try:
with async_timeout.timeout(timeout, loop=hass.loop):
with async_timeout.timeout(timeout):
request = await getattr(websession, method)(
template_url.async_render(variables=service.data),
data=payload,