1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 08:41:59 +00:00

[time] Use lazy callback for time sync to save 8 bytes

This commit is contained in:
J. Nick Koston
2026-01-30 16:02:20 -06:00
parent 5e3561d60b
commit d0cc602979

View File

@@ -62,7 +62,7 @@ class RealTimeClock : public PollingComponent {
void apply_timezone_();
#endif
CallbackManager<void()> time_sync_callback_;
LazyCallbackManager<void()> time_sync_callback_;
};
template<typename... Ts> class TimeHasTimeCondition : public Condition<Ts...> {