mirror of
https://github.com/esphome/esphome.git
synced 2025-01-23 04:45:58 +01:00
is_in_progress added
This commit is contained in:
parent
ced4eea497
commit
51216e2ca9
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ class SNTPComponent : public time::RealTimeClock {
|
|||
void update() override;
|
||||
void loop() override;
|
||||
|
||||
bool is_in_progress() const { return !has_time_; }
|
||||
|
||||
protected:
|
||||
std::string server_1_;
|
||||
std::string server_2_;
|
||||
|
|
Loading…
Reference in a new issue