The smart home might finally get some brains