mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-10 14:07:26 -06:00
add adaptive lighting service
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
AdaptiveLighting *services.AdaptiveLighting
|
||||
AlarmControlPanel *services.AlarmControlPanel
|
||||
Climate *services.Climate
|
||||
Cover *services.Cover
|
||||
@@ -31,6 +32,7 @@ type Service struct {
|
||||
|
||||
func newService(conn *ws.WebsocketWriter) *Service {
|
||||
return &Service{
|
||||
AdaptiveLighting: services.BuildService[services.AdaptiveLighting](conn),
|
||||
AlarmControlPanel: services.BuildService[services.AlarmControlPanel](conn),
|
||||
Climate: services.BuildService[services.Climate](conn),
|
||||
Cover: services.BuildService[services.Cover](conn),
|
||||
|
||||
Reference in New Issue
Block a user