Netatmo: fixed connected state
parent
b6df43f7d5
commit
08b5e73fc3
|
|
@ -350,7 +350,7 @@ void IntegrationPluginNetatmo::onNetworkReplyFinished()
|
|||
thing->setStateValue(netatmoConnectionConnectedStateTypeId, false);
|
||||
return;
|
||||
}
|
||||
|
||||
thing->setStateValue(netatmoConnectionConnectedStateTypeId, true);
|
||||
// check JSON file
|
||||
QJsonParseError error;
|
||||
QJsonDocument jsonDoc = QJsonDocument::fromJson(reply->readAll(), &error);
|
||||
|
|
|
|||
Loading…
Reference in New Issue