chore: reformat, normalize imports

This commit is contained in:
2025-08-01 20:44:38 -05:00
parent 9b8ef545a6
commit 8fe6bc0cff
31 changed files with 94 additions and 145 deletions

View File

@@ -1,17 +1,13 @@
package services
import (
ws "github.com/Xevion/go-ha/internal/connect"
"github.com/Xevion/go-ha/internal/connect"
)
/* Structs */
type Script struct {
conn *ws.HAConnection
conn *connect.HAConnection
}
/* Public API */
// Reload a script that was created in the HA UI.
func (s Script) Reload(entityId string) error {
req := NewBaseServiceRequest(entityId)