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:
parent
0763dc6089
commit
9aaab41985
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user