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:
@@ -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...> {
|
||||
|
||||
Reference in New Issue
Block a user