mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 03:15:14 -06:00
24 lines
361 B
Go
24 lines
361 B
Go
package gomeassistant
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/saml-dev/gome-assistant/internal/services"
|
|
"nhooyr.io/websocket"
|
|
)
|
|
|
|
type Service struct {
|
|
HomeAssistant homeAssistant
|
|
Light services.Light
|
|
}
|
|
|
|
type homeAssistant struct {
|
|
conn websocket.Conn
|
|
ctx context.Context
|
|
}
|
|
|
|
// type light struct {
|
|
// conn websocket.Conn
|
|
// ctx context.Context
|
|
// }
|