1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-24 20:53:48 +01:00

[api] Revert unneeded GetTime bidirectional support added in #9790 (#10702)

This commit is contained in:
J. Nick Koston
2025-09-14 16:52:19 -05:00
committed by GitHub
parent 9c85a7eff3
commit bb6be9c939
8 changed files with 4 additions and 48 deletions

View File

@@ -1180,10 +1180,6 @@ class GetTimeResponse final : public ProtoDecodableMessage {
#endif
uint32_t epoch_seconds{0};
std::string timezone{};
StringRef timezone_ref_{};
void set_timezone(const StringRef &ref) { this->timezone_ref_ = ref; }
void encode(ProtoWriteBuffer buffer) const override;
void calculate_size(ProtoSize &size) const override;
#ifdef HAS_PROTO_MESSAGE_DUMP
void dump_to(std::string &out) const override;
#endif