Browse Source

Statemaschine fix

mod_update
Dirk Alders 4 years ago
parent
commit
2c8cbf567e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      piface_function.py

+ 2
- 0
piface_function.py View File

199
             (CONDITION_IDLE, 1, STATE_IDLE),
199
             (CONDITION_IDLE, 1, STATE_IDLE),
200
         ),
200
         ),
201
         STATE_SUNRISE: (
201
         STATE_SUNRISE: (
202
+            (CONDITION_SLEEP, 1, STATE_SLEEP),
202
             (CONDITION_SUNSET, 1, STATE_SUNSET),
203
             (CONDITION_SUNSET, 1, STATE_SUNSET),
203
             (CONDITION_IDLE, 1, STATE_IDLE),
204
             (CONDITION_IDLE, 1, STATE_IDLE),
204
         ),
205
         ),
208
         ),
209
         ),
209
         STATE_SLEEP: (
210
         STATE_SLEEP: (
210
             (CONDITION_WAKE, 1, STATE_WAKE),
211
             (CONDITION_WAKE, 1, STATE_WAKE),
212
+            (CONDITION_SUNRISE, 1, STATE_SUNRISE),
211
             (CONDITION_IDLE, 1, STATE_IDLE),
213
             (CONDITION_IDLE, 1, STATE_IDLE),
212
         ),
214
         ),
213
     }
215
     }

Loading…
Cancel
Save