mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
Increase SNTP setup priority (#4917)
This commit is contained in:
parent
6b00622329
commit
d1253922c3
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class SNTPComponent : public time::RealTimeClock {
|
||||||
this->server_2_ = server_2;
|
this->server_2_ = server_2;
|
||||||
this->server_3_ = server_3;
|
this->server_3_ = server_3;
|
||||||
}
|
}
|
||||||
float get_setup_priority() const override { return setup_priority::AFTER_WIFI; }
|
float get_setup_priority() const override { return setup_priority::BEFORE_CONNECTION; }
|
||||||
|
|
||||||
void update() override;
|
void update() override;
|
||||||
void loop() override;
|
void loop() override;
|
||||||
|
|
Loading…
Reference in a new issue