mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Update Shelly1_v2.ino
Double switch fix
This commit is contained in:
1 parent
f3ec7476b2
commit
5d25eeccaf
1 file changed
+1
@@ -78,6 +78,7 @@ void loop() {
|
|||||||
ESP.restart();
|
ESP.restart();
|
||||||
}
|
}
|
||||||
if (buttonActive) {
|
if (buttonActive) {
|
||||||
|
realState = !state;
|
||||||
jsonContent = {};
|
jsonContent = {};
|
||||||
jsonContent["token"] = apiToken;
|
jsonContent["token"] = apiToken;
|
||||||
requestJson = "";
|
requestJson = "";
|
||||||
|
|||||||
Reference in new issue
Block a user