|
@@ -199,6 +199,7 @@ class state_machine_day_state(state_machine.state_machine):
|
199
|
199
|
(CONDITION_IDLE, 1, STATE_IDLE),
|
200
|
200
|
),
|
201
|
201
|
STATE_SUNRISE: (
|
|
202
|
+ (CONDITION_SLEEP, 1, STATE_SLEEP),
|
202
|
203
|
(CONDITION_SUNSET, 1, STATE_SUNSET),
|
203
|
204
|
(CONDITION_IDLE, 1, STATE_IDLE),
|
204
|
205
|
),
|
|
@@ -208,6 +209,7 @@ class state_machine_day_state(state_machine.state_machine):
|
208
|
209
|
),
|
209
|
210
|
STATE_SLEEP: (
|
210
|
211
|
(CONDITION_WAKE, 1, STATE_WAKE),
|
|
212
|
+ (CONDITION_SUNRISE, 1, STATE_SUNRISE),
|
211
|
213
|
(CONDITION_IDLE, 1, STATE_IDLE),
|
212
|
214
|
),
|
213
|
215
|
}
|