Added HttpInterface

This commit is contained in:
Paulus Schoutsen committed 2013-09-19 23:59:49 -07:00
1 parent cfc6708283
commit 361a935591
6 files changed
+117 -22

No files matched your search

+4
View File
@@ -38,6 +38,10 @@ class StateMachine:
return self.states[category]
def get_states(self):
for category in sorted(self.states.keys()):
yield category, self.states[category].state, self.states[category].last_changed
def track_state_change(eventBus, category, fromState, toState, action):
fromState = ensure_list(fromState)