|
|
@ -135,7 +135,7 @@ func sceneDimmer( |
|
|
|
TargetKind: kind, |
|
|
|
TargetValue: refValue, |
|
|
|
Actions: models.EventAction{SetScene: &models.DeviceSceneAssignment{ |
|
|
|
SceneID: scenes[len(scenes)-1].ID, |
|
|
|
SceneID: resolvedScenes[len(resolvedScenes)-1].ID, |
|
|
|
Group: refValue, |
|
|
|
DurationMS: 0, |
|
|
|
}}, |
|
|
@ -154,7 +154,7 @@ func sceneDimmer( |
|
|
|
TargetKind: kind, |
|
|
|
TargetValue: refValue, |
|
|
|
Actions: models.EventAction{SetScene: &models.DeviceSceneAssignment{ |
|
|
|
SceneID: scenes[0].ID, |
|
|
|
SceneID: resolvedScenes[0].ID, |
|
|
|
Group: refValue, |
|
|
|
DurationMS: 0, |
|
|
|
}}, |
|
|
|