|
@ -157,6 +157,7 @@ func applyCmdToHandler(model models.EventHandler, cmd Command) models.EventHandl |
|
|
model.Actions.SetPower = nds.Power |
|
|
model.Actions.SetPower = nds.Power |
|
|
model.Actions.SetColor = nds.Color |
|
|
model.Actions.SetColor = nds.Color |
|
|
model.Actions.SetIntensity = nds.Intensity |
|
|
model.Actions.SetIntensity = nds.Intensity |
|
|
|
|
|
model.Actions.SetTemperature = nds.Temperature |
|
|
|
|
|
|
|
|
// Add intensity
|
|
|
// Add intensity
|
|
|
model.Actions.AddIntensity = cmd.Params.Get("add-intensity").Float() |
|
|
model.Actions.AddIntensity = cmd.Params.Get("add-intensity").Float() |
|
|