public async Task TurnOffWemoPlug_Verify() { // ARRANGE var ipAddress = "http://192.168.1.5"; var wemo = new Wemo(); // ACT var result = await wemo.TurnOffWemoPlugAsync(ipAddress); // ASSERT Assert.IsTrue(result, "The switch toggle command was not successful as expected"); }
public void TurnOFFPlug() { _wemo.TurnOffWemoPlugAsync(MistyApiInfo.WemoDeviceIpAddress).GetAwaiter().GetResult(); }