cleanups
This commit is contained in:
parent
3cdb077f05
commit
ea3dc116a0
|
@ -195,7 +195,6 @@ namespace ratgdo {
|
||||||
} else if (cmd == 0x285) {
|
} else if (cmd == 0x285) {
|
||||||
motion = 1; // toggle bit
|
motion = 1; // toggle bit
|
||||||
ESP_LOGD(TAG, "Motion: %d (toggle)", motion);
|
ESP_LOGD(TAG, "Motion: %d (toggle)", motion);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -579,7 +578,7 @@ namespace ratgdo {
|
||||||
if (this->lightState == LightState::LIGHT_STATE_ON) {
|
if (this->lightState == LightState::LIGHT_STATE_ON) {
|
||||||
ESP_LOGD(TAG, "The light is already on");
|
ESP_LOGD(TAG, "The light is already on");
|
||||||
} else {
|
} else {
|
||||||
toggleLight();
|
toggleLight();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue