diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index e03e8b3..af46b8f 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -430,7 +430,7 @@ namespace ratgdo { void RATGDOComponent::sendLightStatus() { LightState val = static_cast(this->store_.lightState); - ESP_LOGD(TAG, "Light state %s", light_state_to_string(val)); + ESP_LOGD(TAG, "Light state %s (%d)", light_state_to_string(val), this->store_.lightState); for (auto* child : this->children_) { child->on_light_state(val); }