From 71c6a549906404acd3a3c6c1e9cffd3d0e6312fd Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 19 Feb 2026 15:05:06 -0600 Subject: [PATCH] [core] Fix deprecation dates for gamma_correct/gamma_uncorrect Ships in 2026.3.0, so deprecation starts at 2026.3.0 with 6-month removal window at 2026.9.0. --- esphome/core/helpers.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome/core/helpers.h b/esphome/core/helpers.h index 1e90c21c76..df52b2eb70 100644 --- a/esphome/core/helpers.h +++ b/esphome/core/helpers.h @@ -1350,12 +1350,12 @@ bool base64_decode_int32_vector(const std::string &base64, std::vector ///@{ /// Applies gamma correction of \p gamma to \p value. -// Remove before 2026.12.0 -ESPDEPRECATED("Use LightState::gamma_correct_lut() instead. Removed in 2026.12.0.", "2026.6.0") +// Remove before 2026.9.0 +ESPDEPRECATED("Use LightState::gamma_correct_lut() instead. Removed in 2026.9.0.", "2026.3.0") float gamma_correct(float value, float gamma); /// Reverts gamma correction of \p gamma to \p value. -// Remove before 2026.12.0 -ESPDEPRECATED("Use LightState::gamma_uncorrect_lut() instead. Removed in 2026.12.0.", "2026.6.0") +// Remove before 2026.9.0 +ESPDEPRECATED("Use LightState::gamma_uncorrect_lut() instead. Removed in 2026.9.0.", "2026.3.0") float gamma_uncorrect(float value, float gamma); /// Convert \p red, \p green and \p blue (all 0-1) values to \p hue (0-360), \p saturation (0-1) and \p value (0-1).