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
1 changed files with 1 additions and 0 deletions

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(