A man is using a smart home device to turn on the lights in his bedroom.