1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Simplify esphome (#22868)

* Add ESPHome climate support

* Adjust line length

* Update .coveragerc

* Update climate.py

* Simplify esphome integration

* Undo change

* Update cover.py
This commit is contained in:
Otto Winter
2019-04-16 22:48:46 +02:00
committed by Paulus Schoutsen
parent 10e8f4f70a
commit 3186109172
9 changed files with 113 additions and 135 deletions

View File

@@ -47,7 +47,7 @@ class EsphomeCamera(Camera, EsphomeEntity):
def _state(self) -> Optional['CameraState']:
return super()._state
async def _on_update(self):
async def _on_update(self) -> None:
"""Notify listeners of new image when update arrives."""
await super()._on_update()
async with self._image_cond: