Code to use smart home stuff. Plugin system Implements a plugin system which dynamically loads plugins.