A fancy flat automation system, in Python