From 91ae8c82b0ddd655aa88197dd455cea1b26995bc Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 31 Oct 2025 11:15:59 -0500 Subject: [PATCH] preen --- esphome/components/fan/fan.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/esphome/components/fan/fan.h b/esphome/components/fan/fan.h index 6cae01999d6..16fe42f9f41 100644 --- a/esphome/components/fan/fan.h +++ b/esphome/components/fan/fan.h @@ -112,8 +112,9 @@ class Fan : public EntityBase { /// The current direction of the fan FanDirection direction{FanDirection::FORWARD}; // The current preset mode of the fan - // Deprecated: Use get_preset_mode() instead. Will be removed in 2026.5.0 - __attribute__((deprecated("Use get_preset_mode() instead of .preset_mode. Will be removed in 2026.5.0"))); + // Deprecated: Use get_preset_mode() for reading and set_preset_mode_() for writing. Will be removed in 2026.5.0 + __attribute__((deprecated("Use get_preset_mode() for reading and set_preset_mode_() for writing instead of " + ".preset_mode. Will be removed in 2026.5.0"))); std::string preset_mode{}; FanCall turn_on();