immersive-home/docs/reference/lib--home_apis--hass_ws--handlers--assist.md

78 lines
3.6 KiB
Markdown
Raw Normal View History

2024-03-16 19:45:43 +02:00
# Assist
## Properties
| Name | Type | Default |
| ----------------------------- | ------------------------------------------------------------------------- | ------- |
| [api](#api) | [Hass](/reference/lib--home_apis--hass_ws--hass.html) | |
| [handler_id](#handler-id) | [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) | `0` |
| [pipe_running](#pipe-running) | [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) | `false` |
| [stt_message](#stt-message) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `null` |
| [tts_message](#tts-message) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `null` |
| [tts_sound](#tts-sound) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `null` |
| [wake_word](#wake-word) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `null` |
## Methods
| Returns | Name |
| ------- | ------------------------------------------------------------------------------------------------------------------------------ |
| void | [_init](#-init) ( hass: [Hass](/reference/lib--home_apis--hass_ws--hass.html) ) |
| void | [handle_message](#handle-message) ( message: [Dictionary](https://docs.godotengine.org/de/4.x/classes/class_dictionary.html) ) |
| void | [on_connect](#on-connect) ( ) |
| void | [send_data](#send-data) ( data: [PackedByteArray](https://docs.godotengine.org/de/4.x/classes/class_packedbytearray.html) ) |
| void | [start_wakeword](#start-wakeword) ( ) |
## Property Descriptions
### api: [Hass](/reference/lib--home_apis--hass_ws--hass.html) {#api}
No description provided yet.
### handler_id: [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) {#handler-id}
No description provided yet.
### pipe_running: [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) {#pipe-running}
No description provided yet.
### stt_message: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#stt-message}
No description provided yet.
### tts_message: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#tts-message}
No description provided yet.
### tts_sound: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#tts-sound}
No description provided yet.
### wake_word: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#wake-word}
No description provided yet.
## Method Descriptions
### _init ( hass: [Hass](/reference/lib--home_apis--hass_ws--hass.html) ) -> void {#-init}
No description provided yet.
### handle_message ( message: [Dictionary](https://docs.godotengine.org/de/4.x/classes/class_dictionary.html) ) -> void {#handle-message}
No description provided yet.
### on_connect ( ) -> void {#on-connect}
No description provided yet.
### send_data ( data: [PackedByteArray](https://docs.godotengine.org/de/4.x/classes/class_packedbytearray.html) ) -> void {#send-data}
No description provided yet.
### start_wakeword ( ) -> void {#start-wakeword}
No description provided yet.