Exemplo n.º 1
0
        public async Task RestoreDevicesFromFileTest()
        {
            var smart = new SmartLife(email, password);
            await smart.Connect();

            await smart.GetDevices();

            smart.RestoreDevicesFromFile();
        }
Exemplo n.º 2
0
        public async Task GetDevicesTest()
        {
            var smart = new SmartLife(email, password);
            await smart.Connect();

            await smart.GetDevices();

            Assert.IsNotNull(smart.Devices);
        }