public ConnectionPartViewModel()
        {
            if (!Windows.ApplicationModel.DesignMode.DesignModeEnabled)
                _settings = Services.SettingsServices.SettingsService.Instance;

            _domoticzConnection = Services.DomoticzConnectionServices.DomoticzConnection.Instance;
        }
        //public ObservableCollection<DomoticzLightSwitch> observableSwitches = new ObservableCollection<DomoticzLightSwitch>();

        public SwitchesPageViewModel()
        {
            _domoticzConnection = Services.DomoticzConnectionServices.DomoticzConnection.Instance;
            observableSwitches = new ObservableCollection<Switch>();

            if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
            {
                _settings = Services.SettingsServices.SettingsService.Instance;
                observableSwitches.Add(new Switch() { Name = "Test switch 1", Status = true });
            }
        }