23 void setup()
override;
36 std::array<const char *, SNTP_SERVER_COUNT>
servers_;
The SNTP component allows you to configure local timekeeping via Simple Network Time Protocol.
std::array< const char *, SNTP_SERVER_COUNT > servers_
SNTPComponent(const std::array< const char *, SNTP_SERVER_COUNT > &servers)
void dump_config() override
float get_setup_priority() const override
The RealTimeClock class exposes common timekeeping functions via the device's local real-time clock.
const float BEFORE_CONNECTION
For components that should be initialized after WiFi and before API is connected.
Providing packet encoding functions for exchanging data with a remote host.