diff --git a/esphome/components/time/real_time_clock.h b/esphome/components/time/real_time_clock.h index 41f4b05198..52aa53de3c 100644 --- a/esphome/components/time/real_time_clock.h +++ b/esphome/components/time/real_time_clock.h @@ -37,7 +37,7 @@ class RealTimeClock : public PollingComponent { void call_setup() override; - void apply_timezone() { return this->apply_timezone_(); } + void apply_timezone() { this->apply_timezone_(); } void add_on_time_sync_callback(std::function callback) { this->time_sync_callback_.add(std::move(callback));