From eb3bad823bcf210d53e61f4851c203f228aca367 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 8 Feb 2026 02:40:04 -0600 Subject: [PATCH] [hlk_fm22x] Reword comment to avoid lint false positive on 'byte' --- esphome/components/hlk_fm22x/hlk_fm22x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/hlk_fm22x/hlk_fm22x.h b/esphome/components/hlk_fm22x/hlk_fm22x.h index 598519af4a0..0ea4636281c 100644 --- a/esphome/components/hlk_fm22x/hlk_fm22x.h +++ b/esphome/components/hlk_fm22x/hlk_fm22x.h @@ -14,7 +14,7 @@ namespace esphome::hlk_fm22x { static const uint16_t START_CODE = 0xEFAA; static constexpr size_t HLK_FM22X_NAME_SIZE = 32; -// Maximum response payload: 1-byte command + 1-byte result + 2-byte face_id + 32-byte name = 36 +// Maximum response payload: command(1) + result(1) + face_id(2) + name(32) = 36 static constexpr size_t HLK_FM22X_MAX_RESPONSE_SIZE = 36; enum HlkFm22xCommand { NONE = 0x00,