/// <summary> /// Initialise the connection string and sets up Jeedom variables /// </summary> public void Load() { _url = new UriBuilder(_usessl ? "https" : "http", _host, _port, _path + "/core/api/jeeApi.php").ToString(); getVersion(); if (!_hasError) { _entities = new JeedomEntities(this); if (_entities.Loaded) { _loaded = true; } else { _loaded = false; } } else { this._loaded = false; } }
/// <summary> /// Initialise the connection string and sets up Jeedom variables /// </summary> public void Load() { _url = new UriBuilder(_usessl ? "https" : "http", _host, _port, _path + "/core/api/jeeApi.php").ToString(); getVersion(); if (!_hasError) { _entities = new JeedomEntities(this); if (_entities.Loaded) { _loaded = true; } else { _loaded = false; } } else { this._loaded = false; } }