This commit is contained in:
J. Nick Koston 2023-06-05 18:40:59 -05:00
parent 64d6b259f2
commit e1167051ff
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -484,7 +484,7 @@ namespace ratgdo {
}
void RATGDOComponent::lightOn(){
if(his->lightStates[this->store_.lightState] == "on"){
if(this->lightStates[this->store_.lightState] == "on"){
ESP_LOGD(TAG, "already on");
}else{
toggleLight();
@ -492,7 +492,7 @@ namespace ratgdo {
}
void RATGDOComponent::lightOff(){
if(his->lightStates[this->store_.lightState] == "off"){
if(this->lightStates[this->store_.lightState] == "off"){
ESP_LOGD(TAG, "already off");
}else{
toggleLight();