1
mirror of https://github.com/home-assistant/core synced 2024-07-27 18:58:57 +02: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(