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:
committed by
Paulus Schoutsen
parent
10e8f4f70a
commit
3186109172
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user