This commit is contained in:
J. Nick Koston 2023-06-07 20:12:15 -05:00
parent 3cdb077f05
commit ea3dc116a0
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -195,7 +195,6 @@ namespace ratgdo {
} else if (cmd == 0x285) {
motion = 1; // toggle bit
ESP_LOGD(TAG, "Motion: %d (toggle)", motion);
}
}
@ -579,7 +578,7 @@ namespace ratgdo {
if (this->lightState == LightState::LIGHT_STATE_ON) {
ESP_LOGD(TAG, "The light is already on");
} else {
toggleLight();
toggleLight();
}
}