This new Amazon Basics device is anything but basic. Here’s how it works in a smart home.