A State Machine Primer with HABlladin, the openHAB Genie

For those using Scripted Automation, there is a Python state machine library posted to Finished State Machine in Jython that I hope will make it to the Helper Libraries.