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