Update Shelly1_v2.ino
Double switch fix
This commit is contained in:
parent
f3ec7476b2
commit
5d25eeccaf
@ -78,6 +78,7 @@ void loop() {
|
||||
ESP.restart();
|
||||
}
|
||||
if (buttonActive) {
|
||||
realState = !state;
|
||||
jsonContent = {};
|
||||
jsonContent["token"] = apiToken;
|
||||
requestJson = "";
|
||||
|
Loading…
Reference in New Issue
Block a user