Home automation, python