mirror of
https://github.com/esphome/esphome.git
synced 2025-09-15 01:32:19 +01:00
Add datetime entities (#6513)
This commit is contained in:
@@ -72,6 +72,9 @@ class APIServer : public Component, public Controller {
|
||||
#ifdef USE_DATETIME_TIME
|
||||
void on_time_update(datetime::TimeEntity *obj) override;
|
||||
#endif
|
||||
#ifdef USE_DATETIME_DATETIME
|
||||
void on_datetime_update(datetime::DateTimeEntity *obj) override;
|
||||
#endif
|
||||
#ifdef USE_TEXT
|
||||
void on_text_update(text::Text *obj, const std::string &state) override;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user