From 63972ff2722f92083531f078a571134563e3742a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 11 Jul 2025 16:24:16 -1000 Subject: [PATCH] preen --- esphome/components/api/proto.h | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/components/api/proto.h b/esphome/components/api/proto.h index fbd6251bbc..6677f2824c 100644 --- a/esphome/components/api/proto.h +++ b/esphome/components/api/proto.h @@ -59,7 +59,6 @@ class ProtoVarInt { uint32_t as_uint32() const { return this->value_; } uint64_t as_uint64() const { return this->value_; } bool as_bool() const { return this->value_; } - // Removed template as_enum - now use as_uint32() directly with static_cast in generated code int32_t as_int32() const { // Not ZigZag encoded return static_cast(this->as_int64());