Modern homes are no longer controlled by switches alone.