package main import ( lucifer3 "git.aiterp.net/lucifer3/server" "git.aiterp.net/lucifer3/server/services" "git.aiterp.net/lucifer3/server/services/hue" "git.aiterp.net/lucifer3/server/services/nanoleaf" "git.aiterp.net/lucifer3/server/services/tradfri" "time" ) func main() { bus := lucifer3.EventBus{} resolver := services.NewResolver() sceneMap := services.NewSceneMap(resolver) bus.JoinPrivileged(resolver) bus.JoinPrivileged(sceneMap) bus.Join(services.NewEffectEnforcer(resolver, sceneMap)) bus.Join(nanoleaf.NewService()) bus.Join(hue.NewService()) bus.Join(tradfri.NewService()) time.Sleep(time.Hour) }