Smart home platform supporting decentralized adaptive automation control