1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-28 08:02:23 +01:00

Remove a whole bunch of deprecated/removed stuff (#1981)

This commit is contained in:
Jesse Hills
2021-07-14 14:42:16 +12:00
committed by GitHub
parent 04c3a43c17
commit 07ae8ec553
23 changed files with 14 additions and 141 deletions

View File

@@ -32,11 +32,8 @@ struct ESPTime {
uint16_t year;
/// daylight saving time flag
bool is_dst;
union {
ESPDEPRECATED(".time is deprecated, use .timestamp instead") time_t time;
/// unix epoch time (seconds since UTC Midnight January 1, 1970)
time_t timestamp;
};
/// unix epoch time (seconds since UTC Midnight January 1, 1970)
time_t timestamp;
/** Convert this ESPTime struct to a null-terminated c string buffer as specified by the format argument.
* Up to buffer_len bytes are written.