public async void Open() { var ewelink = new Ewelink(Email, Password, Region); await ewelink.GetCredentials(); await ewelink.GetDevices(); ewelink.OpenWebSocket(); ewelink.CloseWebSocket(); }