immersive-home/docs/reference/lib--stores--settings.md
2024-03-17 00:14:31 +01:00

61 lines
1.9 KiB
Markdown

# Settings
**Inherits:** [Store](/reference/lib--stores--store.html)
## Description
Stores general settings for the app
## Properties
| Name | Type | Default |
| ---------------------------------------- | ----------------------------------------------------------------------- | ----------- |
| [token](#prop-token) | [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) | `""` |
| [type](#prop-type) | [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) | `"HASS_WS"` |
| [url](#prop-url) | [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) | `""` |
| [voice_assistant](#prop-voice-assistant) | [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) | `false` |
## Methods
| Returns | Name |
| ------- | -------------------- |
| void | [_init](#-init) ( ) |
| void | [clear](#clear) ( ) |
## Constants
### StoreClass = `<Object>` {#const-StoreClass}
No description provided yet.
## Property Descriptions
### token: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) {#prop-token}
No description provided yet.
### type: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) {#prop-type}
The adapter to use for connecting with a backend
### url: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) {#prop-url}
No description provided yet.
### voice_assistant: [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) {#prop-voice-assistant}
If the voice assistant should be enabled
## Method Descriptions
### _init ( ) -> void {#-init}
No description provided yet.
### clear ( ) -> void {#clear}
No description provided yet.