1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-01 17:04:05 +00:00

Deprecate camera WS API (#32473)

This commit is contained in:
Pascal Vizeli
2020-03-04 21:58:07 +01:00
committed by GitHub
parent 0763dc6089
commit 9aaab41985

View File

@@ -535,6 +535,7 @@ async def websocket_camera_thumbnail(hass, connection, msg):
Async friendly.
"""
_LOGGER.warning("The websocket command 'camera_thumbnail' has been deprecated.")
try:
image = await async_get_image(hass, msg["entity_id"])
await connection.send_big_result(