From 48128d965eb2686f2d52db99d5049f35e34bba53 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 25 Jul 2025 13:33:36 -1000 Subject: [PATCH] make clang-tidy happy --- esphome/components/api/proto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esphome/components/api/proto.h b/esphome/components/api/proto.h index 7db4b65d55..f08175825b 100644 --- a/esphome/components/api/proto.h +++ b/esphome/components/api/proto.h @@ -908,8 +908,10 @@ class ProtoService { this->on_unauthenticated_access(); return false; } -#endif return true; +#else + return true; +#endif } };