From ed05ab1b05a5eb1cfcfb334d55a638946a6f010a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 14:56:05 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }