Skip to content

Commit d554f5f

Browse files
authored
Update websocket.md (#1702)
Removes section on camera_thumbnail and media_player_thumbnail, they were removed in this PR: home-assistant/core#75452
1 parent 611eeb7 commit d554f5f

File tree

1 file changed

+0
-60
lines changed

1 file changed

+0
-60
lines changed

docs/api/websocket.md

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -461,66 +461,6 @@ The server will respond with a result message containing the current registered
461461
}
462462
```
463463

464-
## Fetching camera thumbnails
465-
466-
_Introduced in Home Assistant 0.69._
467-
468-
:::caution Deprecated
469-
This websocket command was depreciated in Home Assistant Core [0.107](https://www.home-assistant.io/blog/2020/03/18/release-107/) and will be removed in a future release. Until then it will result in a `WARNING` entry in the user's log.
470-
:::
471-
472-
Return a b64 encoded thumbnail of a camera entity.
473-
474-
```json
475-
{
476-
"id": 19,
477-
"type": "camera_thumbnail",
478-
"entity_id": "camera.driveway"
479-
}
480-
```
481-
482-
The server will respond with a result message containing the thumbnail.
483-
484-
```json
485-
{
486-
"id": 19,
487-
"type": "result",
488-
"success": true,
489-
"result": {
490-
"content_type": "image/jpeg",
491-
"content": "<base64 encoded image>"
492-
}
493-
}
494-
```
495-
496-
## Fetching media player thumbnails
497-
498-
_Introduced in Home Assistant 0.69._
499-
500-
Fetch a base64 encoded thumbnail picture for a media player.
501-
502-
```json
503-
{
504-
"id": 19,
505-
"type": "media_player_thumbnail",
506-
"entity_id": "media_player.living_room"
507-
}
508-
```
509-
510-
The server will respond with the image encoded via base64.
511-
512-
```json
513-
{
514-
"id": 19,
515-
"type": "result",
516-
"success": true,
517-
"result": {
518-
"content_type": "image/jpeg",
519-
"content": "<base64 encoded image>"
520-
}
521-
}
522-
```
523-
524464
## Pings and Pongs
525465

526466
The API supports receiving a ping from the client and returning a pong. This serves as a heartbeat to ensure the connection is still alive:

0 commit comments

Comments
 (0)