const ClimateCustomModes & get_supported_custom_presets() const
Empty when the climate has no custom presets. Set them on the Climate entity.
const ClimateCustomModes & get_supported_custom_fan_modes() const
Empty when the climate has no custom fan modes. Set them on the Climate entity.
int8_t get_target_temperature_accuracy_decimals() const
float visual_target_temperature_step_
int8_t get_current_temperature_accuracy_decimals() const
const ClimateCustomModes * supported_custom_fan_modes_
Owned by the Climate entity; get_traits() wires these pointers.
const ClimateCustomModes * supported_custom_presets_
float visual_current_temperature_step_
ConstVector< const char *, true > ClimateCustomModes
Custom fan modes and custom presets: a flash table from codegen, or an owned copy set at runtime.
int8_t step_to_accuracy_decimals(float step)
Derive accuracy in decimals from an increment step.