Climate and Fan Custom Mode Vectors Moved to Entity
Custom mode vectors (custom_fan_modes, custom_presets for climate; preset_modes for fan) are now stored on the entity base class instead of being rebuilt inside traits on every call. The old ClimateTraits and FanTraits setter methods are deprecated.
This is a breaking change for external components in ESPHome 2026.4.0 and later.