From 0f87e7508b8e9ef1c2bedc0918afef5674cf3e62 Mon Sep 17 00:00:00 2001 From: Juan Antonio Aldea Date: Mon, 20 Oct 2025 01:09:28 +0200 Subject: [PATCH] remove hexencode due 2022.1 deprecation (#11383) --- esphome/core/helpers.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/esphome/core/helpers.h b/esphome/core/helpers.h index 37a64d46b..234d2a7d7 100644 --- a/esphome/core/helpers.h +++ b/esphome/core/helpers.h @@ -1158,18 +1158,4 @@ template::value, int> = 0> T &id(T ///@} -/// @name Deprecated functions -///@{ - -ESPDEPRECATED("hexencode() is deprecated, use format_hex_pretty() instead.", "2022.1") -inline std::string hexencode(const uint8_t *data, uint32_t len) { return format_hex_pretty(data, len); } - -template -ESPDEPRECATED("hexencode() is deprecated, use format_hex_pretty() instead.", "2022.1") -std::string hexencode(const T &data) { - return hexencode(data.data(), data.size()); -} - -///@} - } // namespace esphome