Statemaschine fix
This commit is contained in:
parent
1bbf088ffa
commit
2c8cbf567e
@ -199,6 +199,7 @@ class state_machine_day_state(state_machine.state_machine):
|
||||
(CONDITION_IDLE, 1, STATE_IDLE),
|
||||
),
|
||||
STATE_SUNRISE: (
|
||||
(CONDITION_SLEEP, 1, STATE_SLEEP),
|
||||
(CONDITION_SUNSET, 1, STATE_SUNSET),
|
||||
(CONDITION_IDLE, 1, STATE_IDLE),
|
||||
),
|
||||
@ -208,6 +209,7 @@ class state_machine_day_state(state_machine.state_machine):
|
||||
),
|
||||
STATE_SLEEP: (
|
||||
(CONDITION_WAKE, 1, STATE_WAKE),
|
||||
(CONDITION_SUNRISE, 1, STATE_SUNRISE),
|
||||
(CONDITION_IDLE, 1, STATE_IDLE),
|
||||
),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user