mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 18:04:19 -07:00
[api] Mark timezone string field as deprecated in GetTimeResponse
parsed_timezone struct should be used instead. The string field will be removed before 2027.1.0.
This commit is contained in:
@@ -867,7 +867,7 @@ message GetTimeResponse {
|
||||
option (no_delay) = true;
|
||||
|
||||
fixed32 epoch_seconds = 1;
|
||||
string timezone = 2;
|
||||
string timezone = 2 [deprecated = true]; // Use parsed_timezone instead. Remove before 2026.9.0.
|
||||
ParsedTimezone parsed_timezone = 3;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user