2023-10-30 02:21:50 +02:00
|
|
|
extends Node
|
|
|
|
|
2023-11-05 17:36:13 +02:00
|
|
|
const Adapter = preload("res://lib/home_adapters/adapter.gd")
|
2023-10-30 02:21:50 +02:00
|
|
|
|
2023-11-05 17:36:13 +02:00
|
|
|
var adapter = Adapter.new(Adapter.ADAPTER_TYPES.HASS_WS)
|
|
|
|
# var adapter_http = Adapter.new(Adapter.ADAPTER_TYPES.HASS)
|
2023-11-03 00:13:55 +02:00
|
|
|
|
|
|
|
func _ready():
|
2023-11-03 03:07:53 +02:00
|
|
|
add_child(adapter)
|
2023-11-05 17:36:13 +02:00
|
|
|
# add_child(adapter_http)
|
2023-11-03 00:13:55 +02:00
|
|
|
|