lightOff()

Turn off the LED. For WeMo switches, turn off the switch. For Dropcam, turn off camera (stop streaming)

Arguments

none.

Returns

If successful, will return a tag object with updated signal strength (rssi), battery voltage, txpwr, etc. If tag did not respond, will return null.

For WeMo device, you can use returned tag object's lit property to check if the operation was successful or not (because WeMo not connected to Internet, Belkin's Remote Access service outage etc). Then if not successful, take some action. For example, to turn off WeMo:
if(wemo.lightOff().lit)<~phone~>.push("could not turn off "+wemo.name);