updateWireless(options) {
		if(typeof options.ssid !== 'string') {
			throw new Error('options.ssid must be a string');
		}
		if(typeof options.passwd !== 'string') {
			throw new Error('options.passwd must be a string');
		}

		return this.api.call('miIO.config_router', options)
			.then(result => {
				if(result !== 0 && result !== 'OK' && result !== 'ok') {
					throw new Error('Failed updating wireless');
				}
				return true;
			});
	}
Update the wireless settings of this device. Needs `ssid` and `passwd`
to be set in the options object.

`uid` can be set to associate the device with a Mi Home user id.