Update Shelly1_v2.ino

Double switch fix
This commit is contained in:
JonatanRek 2020-03-04 15:27:49 +01:00
parent f3ec7476b2
commit 5d25eeccaf

View File

@ -78,6 +78,7 @@ void loop() {
ESP.restart();
}
if (buttonActive) {
realState = !state;
jsonContent = {};
jsonContent["token"] = apiToken;
requestJson = "";