Add host time platform; remove host support from sntp. (#6854)

This commit is contained in:
Clyde Stubbs
2024-06-04 13:09:46 +10:00
committed by GitHub
parent 78b48209aa
commit cdf83c5d8c
8 changed files with 69 additions and 22 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include "esphome/core/component.h"
#include "esphome/components/time/real_time_clock.h"
namespace esphome {
namespace host {
class HostTime : public time::RealTimeClock {
public:
void update() override {}
};
} // namespace host
} // namespace esphome