16 Commits

Author SHA1 Message Date
Andy Castille
3b56f583a4
Add note about return_response to example of calling a service via the WS API (#2156) 2024-04-26 10:13:31 +02:00
Jan Bouwhuis
f85fa4cbbb
Add ServiceValidationError and translation support (#1961)
* Add ServiceValidationError and translation support

* Improvements, add blog post

* Add error handling response

* Follow up comment

* Update blog/2023-10-29-service-exceptions-and-translations.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update blog/2023-10-29-service-exceptions-and-translations.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Follow up raising vs handling errors

* Fix links

* Update docs/core/platform/raising_exceptions.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update blog/2023-10-29-service-exceptions-and-translations.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update docs/api/websocket.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update docs/internationalization/core.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update docs/internationalization/core.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update docs/core/platform/raising_exceptions.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update docs/integration_quality_scale_index.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update docs/internationalization/core.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update blog/2023-10-29-service-exceptions-and-translations.md

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Rename file to adjust date

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-17 15:36:19 +01:00
Raman Gupta
ce381b54bc
Update docs for call_service WS API (#1881)
* Update docs for call_service WS API

* Update websocket.md
2023-11-10 21:45:12 +01:00
Andrew Dickinson
d93f305a56
Add URL to WebSocket API documentation (#1202)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-10-06 21:19:52 +02:00
Peter Harris
d554f5f3af
Update websocket.md (#1702)
Removes section on camera_thumbnail and media_player_thumbnail, they were removed in this PR: https://github.com/home-assistant/core/pull/75452
2023-03-05 21:27:53 -05:00
yetsea
c7befc2a34
Update websocket.md (#1662)
Remove the extra comma in the provided example. The extra comma would make json parsing to fail.
2023-02-02 20:35:11 -05:00
Paulus Schoutsen
ddd3c9f683
Document validate_config (#1223) 2022-02-22 13:34:34 -08:00
Nico Müller
1078ce5f98
Add documentation for 'fire_event' command in websocket api (#1174) 2022-01-18 11:12:25 -08:00
DJJo14
1a6a7b090d
Document Subscribe to trigger websocket (#1182)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-09 23:40:51 -08:00
Codestian
afc44b25f3
Update websocket.md (#958)
Added missing optional "target" key in Calling a service section and changed "service_data" key with better examples.
2021-06-28 18:15:34 +02:00
Paulus Schoutsen
35fed7195f
Update the WS API docs (#937) 2021-05-17 10:40:11 +02:00
Paulus Schoutsen
4e714d88c7
Update error codes docs for websocket API (#873) 2021-04-05 14:02:16 +02:00
Jason Cronquist
063c16179d
Update websocket.md (#754)
Add context to the example outputs.  Brings documentation inline with actual output from these commands.
2021-01-04 11:14:17 +01:00
Paulus Schoutsen
f6c0952b01
Remove legacy API from websocket API docs (#589) 2020-06-30 09:14:40 +02:00
Tom Brien
6456e9d2e3
Add depreciation notice against camera_thumbnail WS (#585) 2020-06-18 19:17:37 +02:00
Franck Nijhof
269b3594cd
Restructure docs APIs (#504) 2020-05-10 21:20:30 +02:00