Turn off a Kasa device when connect to a WiFi network