From 5ed3e103e3a79a39399537511fdb75ccd2e1981c Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 4 Nov 2025 14:15:23 -0600 Subject: [PATCH] naming --- esphome/core/base_automation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/core/base_automation.h b/esphome/core/base_automation.h index 60edfab9c6..01d872b7ce 100644 --- a/esphome/core/base_automation.h +++ b/esphome/core/base_automation.h @@ -100,20 +100,20 @@ template class ForCondition : public Condition, public Co void loop() override { // Safe to use cached time - only called from Application::loop() - this->check_internal(App.get_loop_component_start_time()); + this->check_internal_(App.get_loop_component_start_time()); } float get_setup_priority() const override { return setup_priority::DATA; } bool check(Ts... x) override { auto now = millis(); - if (!this->check_internal(now)) + if (!this->check_internal_(now)) return false; return now - this->last_inactive_ >= this->time_.value(x...); } protected: - bool check_internal(uint32_t now) { + bool check_internal_(uint32_t now) { bool cond = this->condition_->check(); if (!cond) this->last_inactive_ = now;