immersive-home/docs/reference/lib--home_apis--hass--hass.md

5.7 KiB

Hass

Inherits: Node

Properties

Name Type Default
devices_template Variant
headers PackedStringArray
token String "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIzZjQ0ZGM2N2Y3YzY0MDc1OGZlMWI2ZjJlNmIxZjRkNSIsImlhdCI6MTY5ODAxMDcyOCwiZXhwIjoyMDEzMzcwNzI4fQ.K6ydLUC-4Q7BNIRCU1nWlI2s6sg9UCiOu-Lpedw2zJc"
url String "http://192.168.33.33:8123"

Methods

Returns Name
void _init ( url: String, token: String )
Variant get_devices ( )
Variant get_state ( entity: String )
Variant set_state ( entity: String, state: String, attributes: Dictionary )

Property Descriptions

devices_template: Variant

No description provided yet.

headers: PackedStringArray

No description provided yet.

token: String

No description provided yet.

url: String

No description provided yet.

Method Descriptions

_init (url: String , token: String ) -> void

No description provided yet.

get_devices ( ) -> Variant

No description provided yet.

get_state (entity: String ) -> Variant

No description provided yet.

set_state (entity: String , state: String , attributes: Dictionary ) -> Variant

No description provided yet.