From d5cdc36615468a6553605bc0c60d03ed00c7a2d5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 10:00:48 -0500 Subject: [PATCH] get rid of strings --- 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 cc4d96b..033ed96 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -486,7 +486,7 @@ namespace ratgdo { { DoorState val = static_cast(this->store_.doorState); ESP_LOGD(TAG, "Door state: %s", door_state_to_string(val)); - for (auto *child : this->children_) { + for (auto* child : this->children_) { child->on_door_state(val); } this->status_door_pin_->digital_write(this->store_.doorState == 1);