If sunrise, then turn off D-Link Smart Plug.