diff --git a/esphome/components/time/real_time_clock.h b/esphome/components/time/real_time_clock.h index 720fe593c8..f9de5f5614 100644 --- a/esphome/components/time/real_time_clock.h +++ b/esphome/components/time/real_time_clock.h @@ -69,7 +69,7 @@ class RealTimeClock : public PollingComponent { void apply_timezone_(const char *tz); #endif - CallbackManager time_sync_callback_; + LazyCallbackManager time_sync_callback_; }; template class TimeHasTimeCondition : public Condition {