From 21ed68fb1871b89db41b8224c9f9f42f6d0c10cf Mon Sep 17 00:00:00 2001 From: Rebbe Pod <66928914+RebbePod@users.noreply.github.com> Date: Tue, 27 Aug 2024 19:17:32 -0400 Subject: [PATCH] Update real_time_clock.h --- esphome/components/time/real_time_clock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/time/real_time_clock.h b/esphome/components/time/real_time_clock.h index a17168ae6f..d842e0a8c4 100644 --- a/esphome/components/time/real_time_clock.h +++ b/esphome/components/time/real_time_clock.h @@ -36,6 +36,7 @@ class RealTimeClock : public PollingComponent { time_t timestamp_now() { return ::time(nullptr); } void call_setup() override; + void apply_timezone_(); void add_on_time_sync_callback(std::function callback) { this->time_sync_callback_.add(std::move(callback)); @@ -46,7 +47,6 @@ class RealTimeClock : public PollingComponent { void synchronize_epoch_(uint32_t epoch); std::string timezone_{}; - void apply_timezone_(); CallbackManager time_sync_callback_; };