refactor: websockets into 'connect' module, rename & adjust generally

This commit is contained in:
2025-08-01 20:34:45 -05:00
parent 102a4e7438
commit 9b8ef545a6
32 changed files with 202 additions and 149 deletions

View File

@@ -2,7 +2,7 @@ package services
import (
"github.com/Xevion/go-ha/internal"
ws "github.com/Xevion/go-ha/internal/websocket"
ws "github.com/Xevion/go-ha/internal/connect"
)
func BuildService[
@@ -29,7 +29,7 @@ func BuildService[
Timer |
Vacuum |
ZWaveJS,
](conn *ws.WebsocketWriter) *T {
](conn *ws.HAConnection) *T {
return &T{conn: conn}
}