mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 01:15:10 -06:00
some tweaks/renames, schedule documentation
This commit is contained in:
@@ -20,7 +20,7 @@ type Service struct {
|
||||
InputNumber *services.InputNumber
|
||||
}
|
||||
|
||||
func NewService(conn *websocket.Conn, ctx context.Context, httpClient *http.HttpClient) *Service {
|
||||
func newService(conn *websocket.Conn, ctx context.Context, httpClient *http.HttpClient) *Service {
|
||||
return &Service{
|
||||
Light: services.BuildService[services.Light](conn, ctx),
|
||||
HomeAssistant: services.BuildService[services.HomeAssistant](conn, ctx),
|
||||
|
||||
Reference in New Issue
Block a user