Push logic away from the server and into the device.
Because your smart home should make you smile, too.