add adaptive lighting service

This commit is contained in:
Sam Lewis
2025-01-20 20:30:07 -05:00
parent 05131faa98
commit 65672dc311
3 changed files with 30 additions and 1 deletions

View File

@@ -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),