|
bool | get_supports_current_temperature () const |
|
void | set_supports_current_temperature (bool supports_current_temperature) |
|
bool | get_supports_current_humidity () const |
|
void | set_supports_current_humidity (bool supports_current_humidity) |
|
bool | get_supports_two_point_target_temperature () const |
|
void | set_supports_two_point_target_temperature (bool supports_two_point_target_temperature) |
|
bool | get_supports_target_humidity () const |
|
void | set_supports_target_humidity (bool supports_target_humidity) |
|
void | set_supported_modes (std::set< ClimateMode > modes) |
|
void | add_supported_mode (ClimateMode mode) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_modes() instead", "v1.20") void set_supports_auto_mode(bool supports_auto_mode) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_modes() instead", "v1.20") void set_supports_cool_mode(bool supports_cool_mode) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_modes() instead", "v1.20") void set_supports_heat_mode(bool supports_heat_mode) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_modes() instead", "v1.20") void set_supports_heat_cool_mode(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_modes() instead", "v1.20") void set_supports_fan_only_mode(bool supports_fan_only_mode) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_modes() instead", "v1.20") void set_supports_dry_mode(bool supports_dry_mode) |
|
bool | supports_mode (ClimateMode mode) const |
|
const std::set< ClimateMode > & | get_supported_modes () const |
|
void | set_supports_action (bool supports_action) |
|
bool | get_supports_action () const |
|
void | set_supported_fan_modes (std::set< ClimateFanMode > modes) |
|
void | add_supported_fan_mode (ClimateFanMode mode) |
|
void | add_supported_custom_fan_mode (const std::string &mode) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_on(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_off(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_auto(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_low(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_medium(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_high(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_middle(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_focus(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_fan_modes() instead", "v1.20") void set_supports_fan_mode_diffuse(bool supported) |
|
bool | supports_fan_mode (ClimateFanMode fan_mode) const |
|
bool | get_supports_fan_modes () const |
|
const std::set< ClimateFanMode > & | get_supported_fan_modes () const |
|
void | set_supported_custom_fan_modes (std::set< std::string > supported_custom_fan_modes) |
|
const std::set< std::string > & | get_supported_custom_fan_modes () const |
|
bool | supports_custom_fan_mode (const std::string &custom_fan_mode) const |
|
void | set_supported_presets (std::set< ClimatePreset > presets) |
|
void | add_supported_preset (ClimatePreset preset) |
|
void | add_supported_custom_preset (const std::string &preset) |
|
bool | supports_preset (ClimatePreset preset) const |
|
bool | get_supports_presets () const |
|
const std::set< climate::ClimatePreset > & | get_supported_presets () const |
|
void | set_supported_custom_presets (std::set< std::string > supported_custom_presets) |
|
const std::set< std::string > & | get_supported_custom_presets () const |
|
bool | supports_custom_preset (const std::string &custom_preset) const |
|
void | set_supported_swing_modes (std::set< ClimateSwingMode > modes) |
|
void | add_supported_swing_mode (ClimateSwingMode mode) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_swing_modes() instead", "v1.20") void set_supports_swing_mode_off(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_swing_modes() instead", "v1.20") void set_supports_swing_mode_both(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_swing_modes() instead", "v1.20") void set_supports_swing_mode_vertical(bool supported) |
|
| ESPDEPRECATED ("This method is deprecated, use set_supported_swing_modes() instead", "v1.20") void set_supports_swing_mode_horizontal(bool supported) |
|
bool | supports_swing_mode (ClimateSwingMode swing_mode) const |
|
bool | get_supports_swing_modes () const |
|
const std::set< ClimateSwingMode > & | get_supported_swing_modes () const |
|
float | get_visual_min_temperature () const |
|
void | set_visual_min_temperature (float visual_min_temperature) |
|
float | get_visual_max_temperature () const |
|
void | set_visual_max_temperature (float visual_max_temperature) |
|
float | get_visual_target_temperature_step () const |
|
float | get_visual_current_temperature_step () const |
|
void | set_visual_target_temperature_step (float temperature_step) |
|
void | set_visual_current_temperature_step (float temperature_step) |
|
void | set_visual_temperature_step (float temperature_step) |
|
int8_t | get_target_temperature_accuracy_decimals () const |
|
int8_t | get_current_temperature_accuracy_decimals () const |
|
float | get_visual_min_humidity () const |
|
void | set_visual_min_humidity (float visual_min_humidity) |
|
float | get_visual_max_humidity () const |
|
void | set_visual_max_humidity (float visual_max_humidity) |
|
This class contains all static data for climate devices.
All climate devices must support these features:
- OFF mode
- Target Temperature
All other properties and modes are optional and the integration must mark each of them as supported by setting the appropriate flag here.
- supports current temperature - if the climate device supports reporting a current temperature
- supports two point target temperature - if the climate device's target temperature should be split in target_temperature_low and target_temperature_high instead of just the single target_temperature
- supports modes:
- auto mode (automatic control)
- cool mode (lowers current temperature)
- heat mode (increases current temperature)
- dry mode (removes humidity from air)
- fan mode (only turns on fan)
- supports action - if the climate device supports reporting the active current action of the device with the action property.
- supports fan modes - optionally, if it has a fan which can be configured in different ways:
- on, off, auto, high, medium, low, middle, focus, diffuse, quiet
- supports swing modes - optionally, if it has a swing which can be configured in different ways:
- off, both, vertical, horizontal
This class also contains static data for the climate device display:
- visual min/max temperature - tells the frontend what range of temperatures the climate device should display (gauge min/max values)
- temperature step - the step with which to increase/decrease target temperature. This also affects with how many decimal places the temperature is shown
Definition at line 41 of file climate_traits.h.