This commit is contained in:
J. Nick Koston 2023-06-07 19:12:16 -05:00
parent 4073a354aa
commit 9d7f521b6b
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ namespace ratgdo {
void RATGDOComponent::lightOn()
{
if (this->store_.lightState == LightState::LIGHT_STATE_ON) {
ESP_LOGD(TAG, "already on");
ESP_LOGD(TAG, "The light is already on");
} else {
toggleLight();
}
@ -582,7 +582,7 @@ namespace ratgdo {
void RATGDOComponent::lightOff()
{
if (this->store_.lightState == LightState::LIGHT_STATE_OFF) {
ESP_LOGD(TAG, "already off");
ESP_LOGD(TAG, "The light is already off");
} else {
toggleLight();
}