Turn on lights before changing brightness and color
This commit is contained in:
parent
9bc76cdf8e
commit
10d858817d
1 changed files with 1 additions and 1 deletions
|
|
@ -16,8 +16,8 @@ let internal generateZigbeeCommandsToFixLight state partOfDay light =
|
|||
getDesiredMood light.Room partOfDay |> getDesiredColorAndBrightness light.Bulb
|
||||
|
||||
seq {
|
||||
generateZigbeeCommand color brightness light
|
||||
generateStateCommand state light
|
||||
generateZigbeeCommand color brightness light
|
||||
}
|
||||
|
||||
type NightLightStateMachine private (maybeTime: DateTime option, lightToState: Map<Light, State>) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue