|
ESPHome 2026.10.0-dev
|
#include <thermostat_climate.h>
Public Types | |
| using | PresetEntry = ThermostatPresetEntry |
| using | CustomPresetEntry = ThermostatCustomPresetEntry |
Public Member Functions | |
| ThermostatClimate () | |
| void | setup () override |
| void | dump_config () override |
| void | loop () override |
| void | set_default_preset (const char *custom_preset) |
| void | set_default_preset (climate::ClimatePreset preset) |
| void | set_on_boot_restore_from (thermostat::OnBootRestoreFrom on_boot_restore_from) |
| void | set_set_point_minimum_differential (float differential) |
| void | set_cool_deadband (float deadband) |
| void | set_cool_overrun (float overrun) |
| void | set_heat_deadband (float deadband) |
| void | set_heat_overrun (float overrun) |
| void | set_supplemental_cool_delta (float delta) |
| void | set_supplemental_heat_delta (float delta) |
| void | set_cooling_maximum_run_time_in_sec (uint32_t time) |
| void | set_heating_maximum_run_time_in_sec (uint32_t time) |
| void | set_cooling_minimum_off_time_in_sec (uint32_t time) |
| void | set_cooling_minimum_run_time_in_sec (uint32_t time) |
| void | set_fan_mode_minimum_switching_time_in_sec (uint32_t time) |
| void | set_fanning_minimum_off_time_in_sec (uint32_t time) |
| void | set_fanning_minimum_run_time_in_sec (uint32_t time) |
| void | set_heating_minimum_off_time_in_sec (uint32_t time) |
| void | set_heating_minimum_run_time_in_sec (uint32_t time) |
| void | set_idle_minimum_time_in_sec (uint32_t time) |
| void | set_sensor (sensor::Sensor *sensor) |
| void | set_humidity_sensor (sensor::Sensor *humidity_sensor) |
| void | set_humidity_hysteresis (float humidity_hysteresis) |
| void | set_use_startup_delay (bool use_startup_delay) |
| void | set_supports_auto (bool supports_auto) |
| void | set_supports_heat_cool (bool supports_heat_cool) |
| void | set_supports_cool (bool supports_cool) |
| void | set_supports_dry (bool supports_dry) |
| void | set_supports_fan_only (bool supports_fan_only) |
| void | set_supports_fan_only_action_uses_fan_mode_timer (bool supports_fan_only_action_uses_fan_mode_timer) |
| void | set_supports_fan_only_cooling (bool supports_fan_only_cooling) |
| void | set_supports_fan_with_cooling (bool supports_fan_with_cooling) |
| void | set_supports_fan_with_heating (bool supports_fan_with_heating) |
| void | set_supports_heat (bool supports_heat) |
| void | set_supports_fan_mode_on (bool supports_fan_mode_on) |
| void | set_supports_fan_mode_off (bool supports_fan_mode_off) |
| void | set_supports_fan_mode_auto (bool supports_fan_mode_auto) |
| void | set_supports_fan_mode_low (bool supports_fan_mode_low) |
| void | set_supports_fan_mode_medium (bool supports_fan_mode_medium) |
| void | set_supports_fan_mode_high (bool supports_fan_mode_high) |
| void | set_supports_fan_mode_middle (bool supports_fan_mode_middle) |
| void | set_supports_fan_mode_focus (bool supports_fan_mode_focus) |
| void | set_supports_fan_mode_diffuse (bool supports_fan_mode_diffuse) |
| void | set_supports_fan_mode_quiet (bool supports_fan_mode_quiet) |
| void | set_supports_swing_mode_both (bool supports_swing_mode_both) |
| void | set_supports_swing_mode_horizontal (bool supports_swing_mode_horizontal) |
| void | set_supports_swing_mode_off (bool supports_swing_mode_off) |
| void | set_supports_swing_mode_vertical (bool supports_swing_mode_vertical) |
| void | set_supports_dehumidification (bool supports_dehumidification) |
| void | set_supports_humidification (bool supports_humidification) |
| void | set_supports_two_points (bool supports_two_points) |
| void | set_preset_config (std::initializer_list< PresetEntry > presets) |
| void | set_custom_preset_config (std::initializer_list< CustomPresetEntry > presets) |
| Trigger * | get_cool_action_trigger () |
| Trigger * | get_supplemental_cool_action_trigger () |
| Trigger * | get_dry_action_trigger () |
| Trigger * | get_fan_only_action_trigger () |
| Trigger * | get_heat_action_trigger () |
| Trigger * | get_supplemental_heat_action_trigger () |
| Trigger * | get_idle_action_trigger () |
| Trigger * | get_auto_mode_trigger () |
| Trigger * | get_cool_mode_trigger () |
| Trigger * | get_dry_mode_trigger () |
| Trigger * | get_fan_only_mode_trigger () |
| Trigger * | get_heat_mode_trigger () |
| Trigger * | get_heat_cool_mode_trigger () |
| Trigger * | get_off_mode_trigger () |
| Trigger * | get_fan_mode_on_trigger () |
| Trigger * | get_fan_mode_off_trigger () |
| Trigger * | get_fan_mode_auto_trigger () |
| Trigger * | get_fan_mode_low_trigger () |
| Trigger * | get_fan_mode_medium_trigger () |
| Trigger * | get_fan_mode_high_trigger () |
| Trigger * | get_fan_mode_middle_trigger () |
| Trigger * | get_fan_mode_focus_trigger () |
| Trigger * | get_fan_mode_diffuse_trigger () |
| Trigger * | get_fan_mode_quiet_trigger () |
| Trigger * | get_swing_mode_both_trigger () |
| Trigger * | get_swing_mode_horizontal_trigger () |
| Trigger * | get_swing_mode_off_trigger () |
| Trigger * | get_swing_mode_vertical_trigger () |
| Trigger * | get_humidity_change_trigger () |
| Trigger * | get_temperature_change_trigger () |
| Trigger * | get_preset_change_trigger () |
| Trigger * | get_humidity_control_dehumidify_action_trigger () |
| Trigger * | get_humidity_control_humidify_action_trigger () |
| Trigger * | get_humidity_control_off_action_trigger () |
| float | cool_deadband () |
| Get current hysteresis values. | |
| float | cool_overrun () |
| float | heat_deadband () |
| float | heat_overrun () |
| void | refresh () |
| Call triggers based on updated climate states (modes/actions) | |
| bool | climate_action_change_delayed () |
| Returns true if a climate action/fan mode transition is being delayed. | |
| bool | fan_mode_change_delayed () |
| climate::ClimateAction | delayed_climate_action () |
| Returns the climate action that is being delayed (check climate_action_change_delayed(), first!) | |
| climate::ClimateFanMode | locked_fan_mode () |
| Returns the fan mode that is locked in (check fan_mode_change_delayed(), first!) | |
| bool | hysteresis_valid () |
| Set point and hysteresis validation. | |
| bool | humidity_hysteresis_valid () |
| bool | limit_setpoints_for_heat_cool () |
| void | validate_target_temperature () |
| void | validate_target_temperatures (bool pin_target_temperature_high) |
| void | validate_target_temperature_low () |
| void | validate_target_temperature_high () |
| void | validate_target_humidity () |
Public Member Functions inherited from esphome::climate::Climate | |
| Climate () | |
| template<typename F > | |
| void | add_on_state_callback (F &&callback) |
| Add a callback for the climate device state, each time the state of the climate device is updated (using publish_state), this callback will be called. | |
| template<typename F > | |
| void | add_on_control_callback (F &&callback) |
| Add a callback for the climate device configuration; each time the configuration parameters of a climate device is updated (using perform() of a ClimateCall), this callback will be called, before any on_state callback. | |
| ClimateCall | make_call () |
| Make a climate device control call, this is used to control the climate device, see the ClimateCall description for more info. | |
| void | publish_state () |
| Publish the state of the climate device, to be called from integrations. | |
| ClimateTraits | get_traits () |
| Get the traits of this climate device with all overrides applied. | |
| void | set_visual_min_temperature_override (float visual_min_temperature_override) |
| void | set_visual_max_temperature_override (float visual_max_temperature_override) |
| void | set_visual_temperature_step_override (float target, float current) |
| void | set_visual_min_humidity_override (float visual_min_humidity_override) |
| void | set_visual_max_humidity_override (float visual_max_humidity_override) |
| void | set_supported_custom_fan_modes (std::initializer_list< const char * > modes) |
| Set the supported custom fan modes (stored on Climate, referenced by ClimateTraits). | |
| void | set_supported_custom_fan_modes (const std::vector< const char * > &modes) |
| template<size_t N> | |
| void | set_supported_custom_fan_modes (const char *const (&modes)[N]) |
| void | set_supported_custom_presets (std::initializer_list< const char * > presets) |
| Set the supported custom presets (stored on Climate, referenced by ClimateTraits). | |
| void | set_supported_custom_presets (const std::vector< const char * > &presets) |
| template<size_t N> | |
| void | set_supported_custom_presets (const char *const (&presets)[N]) |
| bool | has_custom_fan_mode () const |
| Check if a custom fan mode is currently active. | |
| bool | has_custom_preset () const |
| Check if a custom preset is currently active. | |
| StringRef | get_custom_fan_mode () const |
| Get the active custom fan mode (read-only access). Returns StringRef. | |
| StringRef | get_custom_preset () const |
| Get the active custom preset (read-only access). Returns StringRef. | |
Public Member Functions inherited from esphome::EntityBase | |
| const StringRef & | get_name () const |
| bool | has_own_name () const |
| uint32_t | get_object_id_hash () const |
| StringRef | get_object_id_to (std::span< char, OBJECT_ID_MAX_LEN > buf) const |
| Get object_id with zero heap allocation For static case: returns StringRef to internal storage (buffer unused) For dynamic case: formats into buffer and returns StringRef to buffer. | |
| size_t | write_object_id_to (char *buf, size_t buf_size) const |
| Write object_id directly to buffer, returns length written (excluding null) Useful for building compound strings without intermediate buffer. | |
| bool | is_internal () const |
| ESPDEPRECATED ("set_internal() is undefined behavior at runtime — components and Home Assistant are NOT " "notified. Use the 'internal:' YAML key instead. Will be removed in 2027.3.0.", "2026.3.0") void set_internal(bool internal) | |
| bool | is_disabled_by_default () const |
| EntityCategory | get_entity_category () const |
| const char * | get_device_class_to (std::span< char, MAX_DEVICE_CLASS_LENGTH > buffer) const |
| StringRef | get_unit_of_measurement_ref () const |
| const char * | get_icon_to (std::span< char, MAX_ICON_LENGTH > buffer) const |
| uint32_t | get_device_id () const |
| Device * | get_device () const |
| bool | has_state () const |
| void | set_has_state (bool state) |
| ESPDEPRECATED ("Use make_entity_preference<T>() instead, or preferences won't be migrated. " "See https://github.com/esphome/backlog/issues/85. Will be removed in 2027.1.0.", "2026.7.0") uint32_t get_preference_hash() | |
| Get a unique hash for storing preferences/settings for this entity. | |
| template<typename T > | |
| ESPPreferenceObject | make_entity_preference (uint32_t version=0) |
| Create a preference object for storing this entity's state/settings. | |
Public Member Functions inherited from esphome::Component | |
| virtual float | get_setup_priority () const |
| priority of setup(). | |
| float | get_actual_setup_priority () const |
| void | set_setup_priority (float priority) |
| void | call () |
| virtual void | on_shutdown () |
| virtual void | on_safe_shutdown () |
| virtual bool | teardown () |
| Called during teardown to allow component to gracefully finish operations. | |
| virtual void | on_powerdown () |
| Called after teardown is complete to power down hardware. | |
| uint8_t | get_component_state () const |
| void | reset_to_construction_state () |
| Reset this component back to the construction state to allow setup to run again. | |
| bool | is_in_loop_state () const |
| Check if this component has completed setup and is in the loop state. | |
| bool | is_idle () const |
| Check if this component is idle. | |
| void | mark_failed () |
| Mark this component as failed. | |
| void | mark_failed (const LogString *message) |
| void | disable_loop () |
| Disable this component's loop. | |
| void | enable_loop () |
| Enable this component's loop. | |
| void | enable_loop_soon_any_context () |
| Thread and ISR-safe version of enable_loop() that can be called from any context. | |
| bool | is_failed () const |
| bool | is_ready () const |
| virtual bool | can_proceed () |
| bool | status_has_warning () const |
| bool | status_has_error () const |
| void | status_set_warning () |
| void | status_set_warning (const char *message) |
| void | status_set_warning (const LogString *message) |
| void | status_set_error () |
| void | status_set_error (const LogString *message) |
| void | status_clear_warning () |
| void | status_clear_error () |
| void | status_momentary_warning (const char *name, uint32_t length=5000) |
| Set warning status flag and automatically clear it after a timeout. | |
| void | status_momentary_error (const char *name, uint32_t length=5000) |
| Set error status flag and automatically clear it after a timeout. | |
| bool | has_overridden_loop () const |
| const LogString * | get_component_log_str () const ESPHOME_ALWAYS_INLINE |
| Get the integration where this component was declared as a LogString for logging. | |
| bool | should_warn_of_blocking (uint32_t blocking_time, uint32_t &threshold_ms_out) |
Data Fields | ||
| HumidificationAction | humidification_action {THERMOSTAT_HUMIDITY_CONTROL_ACTION_NONE} | |
| The current humidification action. | ||
Data Fields inherited from esphome::climate::Climate | ||
| float | current_temperature {NAN} | |
| The current temperature of the climate device, as reported from the integration. | ||
| float | current_humidity {NAN} | |
| The current humidity of the climate device, as reported from the integration. | ||
| union { | ||
| float target_temperature | ||
| The target temperature of the climate device. More... | ||
| struct { | ||
| float target_temperature_low {NAN} | ||
| The minimum target temperature of the climate device, for climate devices with split target temperature. More... | ||
| float target_temperature_high {NAN} | ||
| The maximum target temperature of the climate device, for climate devices with split target temperature. More... | ||
| } | ||
| }; | ||
| float | target_humidity | |
| The target humidity of the climate device. | ||
| optional< ClimateFanMode > | fan_mode | |
| The active fan mode of the climate device. | ||
| optional< ClimatePreset > | preset | |
| The active preset of the climate device. | ||
| ClimateMode | mode {CLIMATE_MODE_OFF} | |
| The active mode of the climate device. | ||
| ClimateAction | action {CLIMATE_ACTION_OFF} | |
| The active state of the climate device. | ||
| ClimateSwingMode | swing_mode {CLIMATE_SWING_OFF} | |
| The active swing mode of the climate device. | ||
Protected Member Functions | |
| void | control (const climate::ClimateCall &call) override |
| Override control to change settings of the climate device. | |
| void | change_preset_ (climate::ClimatePreset preset) |
| Change to a provided preset setting; will reset temperature, mode, fan, and swing modes accordingly. | |
| void | change_custom_preset_ (const char *custom_preset) |
| Change to a provided custom preset setting; will reset temperature, mode, fan, and swing modes accordingly. | |
| void | change_custom_preset_ (const char *custom_preset, size_t len) |
| void | change_custom_preset_ (StringRef custom_preset) |
| bool | change_preset_internal_ (const ThermostatClimateTargetTempConfig &config) |
| Applies the temperature, mode, fan, and swing modes of the provided config. | |
| climate::ClimateTraits | traits () override |
| Return the traits of this controller. | |
| climate::ClimateAction | compute_action_ (bool ignore_timers=false) |
| Re-compute the required action of this climate controller. | |
| climate::ClimateAction | compute_supplemental_action_ () |
| HumidificationAction | compute_humidity_control_action_ () |
| void | switch_to_action_ (climate::ClimateAction action, bool publish_state=true) |
| Switch the climate device to the given climate action. | |
| void | switch_to_supplemental_action_ (climate::ClimateAction action) |
| void | trigger_supplemental_action_ () |
| void | switch_to_humidity_control_action_ (HumidificationAction action) |
| void | switch_to_fan_mode_ (climate::ClimateFanMode fan_mode, bool publish_state=true) |
| Switch the climate device to the given climate fan mode. | |
| void | switch_to_mode_ (climate::ClimateMode mode, bool publish_state=true) |
| Switch the climate device to the given climate mode. | |
| void | switch_to_swing_mode_ (climate::ClimateSwingMode swing_mode, bool publish_state=true) |
| Switch the climate device to the given climate swing mode. | |
| void | check_humidity_change_trigger_ () |
| Check if the humidity change trigger should be called. | |
| void | check_temperature_change_trigger_ () |
| Check if the temperature change trigger should be called. | |
| bool | idle_action_ready_ () |
| Is the action ready to be called? Returns true if so. | |
| bool | cooling_action_ready_ () |
| bool | drying_action_ready_ () |
| bool | fan_mode_ready_ () |
| bool | fanning_action_ready_ () |
| bool | heating_action_ready_ () |
| void | start_timer_ (ThermostatClimateTimerIndex timer_index) |
| Start/cancel/get status of climate action timer. | |
| bool | cancel_timer_ (ThermostatClimateTimerIndex timer_index) |
| bool | timer_active_ (ThermostatClimateTimerIndex timer_index) |
| uint32_t | timer_duration_ (ThermostatClimateTimerIndex timer_index) |
| void | call_timer_callback_ (ThermostatClimateTimerIndex timer_index) |
| Call the appropriate timer callback based on timer index. | |
| void | set_timer_duration_in_sec_ (ThermostatClimateTimerIndex timer_index, uint32_t time) |
| Enhanced timer duration setter with running timer adjustment. | |
| void | cooling_max_run_time_timer_callback_ () |
| set_timeout() callbacks for various actions (see above) | |
| void | cooling_off_timer_callback_ () |
| void | cooling_on_timer_callback_ () |
| void | fan_mode_timer_callback_ () |
| void | fanning_off_timer_callback_ () |
| void | fanning_on_timer_callback_ () |
| void | heating_max_run_time_timer_callback_ () |
| void | heating_off_timer_callback_ () |
| void | heating_on_timer_callback_ () |
| void | idle_on_timer_callback_ () |
| bool | cooling_required_ () |
| Check if cooling/fanning/heating actions are required; returns true if so. | |
| bool | fanning_required_ () |
| bool | heating_required_ () |
| bool | supplemental_cooling_required_ () |
| bool | supplemental_heating_required_ () |
| bool | dehumidification_required_ () |
| bool | humidification_required_ () |
| void | dump_preset_config_ (const char *preset_name, const ThermostatClimateTargetTempConfig &config) |
Protected Member Functions inherited from esphome::climate::Climate | |
| bool | set_fan_mode_ (ClimateFanMode mode) |
| Set fan mode. Reset custom fan mode. Return true if fan mode has been changed. | |
| bool | set_custom_fan_mode_ (const char *mode) |
| Set custom fan mode. Reset primary fan mode. Return true if fan mode has been changed. | |
| bool | set_custom_fan_mode_ (const char *mode, size_t len) |
| bool | set_custom_fan_mode_ (StringRef mode) |
| void | clear_custom_fan_mode_ () |
| Clear custom fan mode. | |
| bool | set_preset_ (ClimatePreset preset) |
| Set preset. Reset custom preset. Return true if preset has been changed. | |
| bool | set_custom_preset_ (const char *preset) |
| Set custom preset. Reset primary preset. Return true if preset has been changed. | |
| bool | set_custom_preset_ (const char *preset, size_t len) |
| bool | set_custom_preset_ (StringRef preset) |
| void | clear_custom_preset_ () |
| Clear custom preset. | |
| const char * | find_custom_fan_mode_ (const char *custom_fan_mode) |
| Find and return the matching custom fan mode pointer from traits, or nullptr if not found. | |
| const char * | find_custom_fan_mode_ (const char *custom_fan_mode, size_t len) |
| const char * | find_custom_preset_ (const char *custom_preset) |
| Find and return the matching custom preset pointer from traits, or nullptr if not found. | |
| const char * | find_custom_preset_ (const char *custom_preset, size_t len) |
| optional< ClimateDeviceRestoreState > | restore_state_ () |
| Restore the state of the climate device, call this from your setup() method. | |
| void | save_state_ (const ClimateTraits &traits) |
| Internal method to save the state of the climate device to recover memory. | |
| void | save_state_ () |
| void | dump_traits_ (const char *tag) |
Protected Member Functions inherited from esphome::EntityBase | |
| friend | void::setup () |
| friend | void::original_setup () |
| void | configure_entity_ (const char *name, uint32_t object_id_hash, uint32_t entity_fields) |
| Combined entity setup from codegen: set name, object_id hash, entity string indices, and flags. | |
| void | set_device_ (Device *device) |
| ESPPreferenceObject | make_entity_preference_ (size_t size, uint32_t version) |
| Non-template helper for make_entity_preference() to avoid code bloat. | |
| void | calc_object_id_ () |
Protected Member Functions inherited from esphome::Component | |
| friend | void::setup () |
| friend | void::original_setup () |
| void | set_component_source_ (uint8_t index) |
| Set where this component was loaded from for some debug messages. | |
| virtual void | call_setup () |
| void | call_dump_config_ () |
| void | enable_loop_slow_path_ () |
| void | set_component_state_ (uint8_t state) |
| Helper to set component state (clears state bits and sets new state) | |
| bool | set_status_flag_ (uint8_t flag) |
| Helper to set a status LED flag on both this component and the app. | |
| void | set_interval (const char *name, uint32_t interval, std::function< void()> &&f) |
| Set an interval function with a const char* name. | |
| void | set_interval (uint32_t id, uint32_t interval, std::function< void()> &&f) |
| Set an interval function with a numeric ID (zero heap allocation). | |
| void | set_interval (InternalSchedulerID id, uint32_t interval, std::function< void()> &&f) |
| void | set_interval (uint32_t interval, std::function< void()> &&f) |
| bool | cancel_interval (const char *name) |
| Cancel an interval function. | |
| bool | cancel_interval (uint32_t id) |
| bool | cancel_interval (InternalSchedulerID id) |
| void | set_timeout (const char *name, uint32_t timeout, std::function< void()> &&f) |
| Set a timeout function with a const char* name. | |
| void | set_timeout (uint32_t id, uint32_t timeout, std::function< void()> &&f) |
| Set a timeout function with a numeric ID (zero heap allocation). | |
| void | set_timeout (InternalSchedulerID id, uint32_t timeout, std::function< void()> &&f) |
| void | set_timeout (uint32_t timeout, std::function< void()> &&f) |
| bool | cancel_timeout (const char *name) |
| Cancel a timeout function. | |
| bool | cancel_timeout (uint32_t id) |
| bool | cancel_timeout (InternalSchedulerID id) |
| void | defer (const char *name, std::function< void()> &&f) |
| Defer a callback to the next loop() call with a const char* name. | |
| void | defer (std::function< void()> &&f) |
| Defer a callback to the next loop() call. | |
| void | defer (uint32_t id, std::function< void()> &&f) |
| Defer a callback with a numeric ID (zero heap allocation) | |
| bool | cancel_defer (const char *name) |
| Cancel a defer callback using the specified name, name must not be empty. | |
| bool | cancel_defer (uint32_t id) |
| void | status_clear_warning_slow_path_ () |
| void | status_clear_error_slow_path_ () |
Protected Attributes | |
| const uint8_t | min_timer_duration_ {1} |
| Minimum allowable duration in seconds for action timers. | |
| climate::ClimateFanMode | prev_fan_mode_ {climate::CLIMATE_FAN_ON} |
| Store previously-known states. | |
| climate::ClimateMode | prev_mode_ {climate::CLIMATE_MODE_OFF} |
| climate::ClimateSwingMode | prev_swing_mode_ {climate::CLIMATE_SWING_OFF} |
| climate::ClimateAction | supplemental_action_ {climate::CLIMATE_ACTION_OFF} |
| The current supplemental action. | |
| climate::ClimatePreset | default_preset_ {} |
| Default standard preset to use on start up. | |
| OnBootRestoreFrom | on_boot_restore_from_ {OnBootRestoreFrom::MEMORY} |
| If set to DEFAULT_PRESET then the default preset is always used. | |
| bool | supports_auto_ {false} |
| Whether the controller supports auto/cooling/drying/fanning/heating. | |
| bool | supports_heat_cool_ {false} |
| bool | supports_cool_ {false} |
| bool | supports_dry_ {false} |
| bool | supports_fan_only_ {false} |
| bool | supports_heat_ {false} |
| bool | supports_fan_only_action_uses_fan_mode_timer_ {false} |
| Special flag – enables fan_modes to share timer with fan_only climate action. | |
| bool | supports_fan_only_cooling_ {false} |
| Special flag – enables fan to be switched based on target_temperature_high. | |
| bool | supports_fan_with_cooling_ {false} |
| Special flags – enables fan_only action to be called with cooling/heating actions. | |
| bool | supports_fan_with_heating_ {false} |
| bool | supports_fan_mode_on_ {false} |
| Whether the controller supports turning on or off just the fan. | |
| bool | supports_fan_mode_off_ {false} |
| bool | supports_fan_mode_auto_ {false} |
| Whether the controller supports fan auto mode. | |
| bool | supports_fan_mode_low_ {false} |
| Whether the controller supports various fan speeds and/or positions. | |
| bool | supports_fan_mode_medium_ {false} |
| bool | supports_fan_mode_high_ {false} |
| bool | supports_fan_mode_middle_ {false} |
| bool | supports_fan_mode_focus_ {false} |
| bool | supports_fan_mode_diffuse_ {false} |
| bool | supports_fan_mode_quiet_ {false} |
| bool | supports_swing_mode_both_ {false} |
| Whether the controller supports various swing modes. | |
| bool | supports_swing_mode_off_ {false} |
| bool | supports_swing_mode_horizontal_ {false} |
| bool | supports_swing_mode_vertical_ {false} |
| bool | supports_two_points_ {false} |
| Whether the controller supports two set points. | |
| bool | supports_dehumidification_ {false} |
| Whether the controller supports dehumidification and/or humidification. | |
| bool | supports_humidification_ {false} |
| bool | cooling_max_runtime_exceeded_ {false} |
| Flags indicating if maximum allowable run time was exceeded. | |
| bool | heating_max_runtime_exceeded_ {false} |
| bool | use_startup_delay_ {false} |
| Used to start "off" delay timers at boot. | |
| bool | setup_complete_ {false} |
| setup_complete_ blocks modifying/resetting the temps immediately after boot | |
| float | prev_target_humidity_ {NAN} |
| Store previously-known humidity and temperatures. | |
| float | prev_target_temperature_ {NAN} |
| float | prev_target_temperature_low_ {NAN} |
| float | prev_target_temperature_high_ {NAN} |
| float | set_point_minimum_differential_ {0} |
| Minimum differential required between set points. | |
| float | cooling_deadband_ {0} |
| Hysteresis values used for computing climate actions. | |
| float | cooling_overrun_ {0} |
| float | heating_deadband_ {0} |
| float | heating_overrun_ {0} |
| float | humidity_hysteresis_ {0} |
| Hysteresis values used for computing humidification action. | |
| float | supplemental_cool_delta_ {0} |
| Maximum allowable temperature deltas before engaging supplemental cooling/heating actions. | |
| float | supplemental_heat_delta_ {0} |
| sensor::Sensor * | sensor_ {nullptr} |
| The sensor used for getting the current temperature. | |
| sensor::Sensor * | humidity_sensor_ {nullptr} |
| The sensor used for getting the current humidity. | |
| Trigger | cool_action_trigger_ |
| Trigger for cooling action/mode. | |
| Trigger | supplemental_cool_action_trigger_ |
| Trigger | cool_mode_trigger_ |
| Trigger | dry_action_trigger_ |
| Trigger for dry (dehumidification) mode. | |
| Trigger | dry_mode_trigger_ |
| Trigger | heat_action_trigger_ |
| Trigger for heating action/mode. | |
| Trigger | supplemental_heat_action_trigger_ |
| Trigger | heat_mode_trigger_ |
| Trigger | heat_cool_mode_trigger_ |
| Trigger for heat/cool mode. | |
| Trigger | auto_mode_trigger_ |
| Trigger for auto mode. | |
| Trigger | idle_action_trigger_ |
| Trigger for idle action/off mode. | |
| Trigger | off_mode_trigger_ |
| Trigger | fan_only_action_trigger_ |
| Trigger for fan-only action/mode. | |
| Trigger | fan_only_mode_trigger_ |
| Trigger | fan_mode_on_trigger_ |
| Fan mode triggers. | |
| Trigger | fan_mode_off_trigger_ |
| Trigger | fan_mode_auto_trigger_ |
| Trigger | fan_mode_low_trigger_ |
| Trigger | fan_mode_medium_trigger_ |
| Trigger | fan_mode_high_trigger_ |
| Trigger | fan_mode_middle_trigger_ |
| Trigger | fan_mode_focus_trigger_ |
| Trigger | fan_mode_diffuse_trigger_ |
| Trigger | fan_mode_quiet_trigger_ |
| Trigger | swing_mode_both_trigger_ |
| Swing mode triggers. | |
| Trigger | swing_mode_off_trigger_ |
| Trigger | swing_mode_horizontal_trigger_ |
| Trigger | swing_mode_vertical_trigger_ |
| Trigger | humidity_change_trigger_ |
| Trigger for target humidity changes. | |
| Trigger | temperature_change_trigger_ |
| Trigger for target temperature changes. | |
| Trigger | preset_change_trigger_ |
| Trigger for preset mode changes. | |
| Trigger | humidity_control_dehumidify_action_trigger_ |
| Humidity control triggers. | |
| Trigger | humidity_control_humidify_action_trigger_ |
| Trigger | humidity_control_off_action_trigger_ |
| Trigger * | prev_action_trigger_ {nullptr} |
| A reference to the trigger that was previously active. | |
| Trigger * | prev_fan_mode_trigger_ {nullptr} |
| Trigger * | prev_mode_trigger_ {nullptr} |
| Trigger * | prev_swing_mode_trigger_ {nullptr} |
| Trigger * | prev_humidity_control_trigger_ {nullptr} |
| std::array< ThermostatClimateTimer, THERMOSTAT_TIMER_COUNT > | timer_ {} |
| Climate action timers. | |
| FixedVector< PresetEntry > | preset_config_ {} |
| The set of standard preset configurations this thermostat supports (Eg. AWAY, ECO, etc) | |
| FixedVector< CustomPresetEntry > | custom_preset_config_ {} |
| The set of custom preset configurations this thermostat supports (eg. "My Custom Preset") | |
Protected Attributes inherited from esphome::climate::Climate | |
| friend | ClimateCall |
| LazyCallbackManager< void(Climate &)> | state_callback_ {} |
| LazyCallbackManager< void(ClimateCall &)> | control_callback_ {} |
| ESPPreferenceObject | rtc_ |
| float | visual_min_temperature_override_ {NAN} |
| float | visual_max_temperature_override_ {NAN} |
| float | visual_target_temperature_step_override_ {NAN} |
| float | visual_current_temperature_step_override_ {NAN} |
| float | visual_min_humidity_override_ {NAN} |
| float | visual_max_humidity_override_ {NAN} |
Protected Attributes inherited from esphome::EntityBase | |
| StringRef | name_ |
| uint32_t | object_id_hash_ {} |
| Device * | device_ {} |
| struct esphome::EntityBase::EntityFlags | flags_ |
| uint8_t | device_class_idx_ {} |
| uint8_t | uom_idx_ {} |
| uint8_t | icon_idx_ {} |
Protected Attributes inherited from esphome::Component | |
| uint8_t | component_source_index_ {0} |
| Index into component source PROGMEM lookup table (0 = not set) | |
| uint8_t | warn_if_blocking_over_ {WARN_IF_BLOCKING_OVER_CS} |
| Warn threshold in centiseconds (max 2550ms) | |
| uint8_t | component_state_ {0x00} |
| State of this component - each bit has a purpose: Bits 0-2: Component state (0x00=CONSTRUCTION, 0x01=SETUP, 0x02=LOOP, 0x03=FAILED, 0x04=LOOP_DONE) Bit 3: STATUS_LED_WARNING Bit 4: STATUS_LED_ERROR Bit 5: Has overridden loop() (set at registration time) Bits 6-7: Unused - reserved for future expansion. | |
| volatile bool | pending_enable_loop_ {false} |
| ISR-safe flag for enable_loop_soon_any_context. | |
| ComponentRuntimeStats | runtime_stats_ |
Definition at line 84 of file thermostat_climate.h.
Definition at line 87 of file thermostat_climate.h.
Definition at line 86 of file thermostat_climate.h.
|
default |
|
protected |
Call the appropriate timer callback based on timer index.
Definition at line 908 of file thermostat_climate.cpp.
|
protected |
Definition at line 894 of file thermostat_climate.cpp.
|
inlineprotected |
Change to a provided custom preset setting; will reset temperature, mode, fan, and swing modes accordingly.
Definition at line 249 of file thermostat_climate.h.
|
protected |
Definition at line 1206 of file thermostat_climate.cpp.
|
inlineprotected |
Definition at line 253 of file thermostat_climate.h.
|
protected |
Change to a provided preset setting; will reset temperature, mode, fan, and swing modes accordingly.
Definition at line 1178 of file thermostat_climate.cpp.
|
protected |
Applies the temperature, mode, fan, and swing modes of the provided config.
This is agnostic of custom vs built in preset Returns true if something was changed
Definition at line 1240 of file thermostat_climate.cpp.
|
protected |
Check if the humidity change trigger should be called.
Definition at line 1009 of file thermostat_climate.cpp.
|
protected |
Check if the temperature change trigger should be called.
Definition at line 1021 of file thermostat_climate.cpp.
| bool esphome::thermostat::ThermostatClimate::climate_action_change_delayed | ( | ) |
Returns true if a climate action/fan mode transition is being delayed.
Definition at line 91 of file thermostat_climate.cpp.
|
protected |
Re-compute the required action of this climate controller.
Definition at line 334 of file thermostat_climate.cpp.
|
protected |
Definition at line 455 of file thermostat_climate.cpp.
|
protected |
Definition at line 413 of file thermostat_climate.cpp.
|
overrideprotectedvirtual |
Override control to change settings of the climate device.
Implements esphome::climate::Climate.
Definition at line 205 of file thermostat_climate.cpp.
|
inline |
Get current hysteresis values.
Definition at line 216 of file thermostat_climate.h.
|
inline |
Definition at line 217 of file thermostat_climate.h.
|
protected |
Definition at line 856 of file thermostat_climate.cpp.
|
protected |
set_timeout() callbacks for various actions (see above)
Definition at line 946 of file thermostat_climate.cpp.
|
protected |
Definition at line 953 of file thermostat_climate.cpp.
|
protected |
Definition at line 959 of file thermostat_climate.cpp.
|
protected |
Check if cooling/fanning/heating actions are required; returns true if so.
Definition at line 1045 of file thermostat_climate.cpp.
|
protected |
Definition at line 1129 of file thermostat_climate.cpp.
| climate::ClimateAction esphome::thermostat::ThermostatClimate::delayed_climate_action | ( | ) |
Returns the climate action that is being delayed (check climate_action_change_delayed(), first!)
Definition at line 117 of file thermostat_climate.cpp.
|
protected |
Definition at line 863 of file thermostat_climate.cpp.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 1429 of file thermostat_climate.cpp.
|
protected |
Definition at line 1155 of file thermostat_climate.cpp.
| bool esphome::thermostat::ThermostatClimate::fan_mode_change_delayed | ( | ) |
Definition at line 112 of file thermostat_climate.cpp.
|
protected |
Definition at line 870 of file thermostat_climate.cpp.
|
protected |
Definition at line 965 of file thermostat_climate.cpp.
|
protected |
Definition at line 872 of file thermostat_climate.cpp.
|
protected |
Definition at line 974 of file thermostat_climate.cpp.
|
protected |
Definition at line 979 of file thermostat_climate.cpp.
|
protected |
Definition at line 1065 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_auto_mode_trigger | ( | ) |
Definition at line 1395 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_cool_action_trigger | ( | ) |
Definition at line 1384 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_cool_mode_trigger | ( | ) |
Definition at line 1396 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_dry_action_trigger | ( | ) |
Definition at line 1388 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_dry_mode_trigger | ( | ) |
Definition at line 1397 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_auto_trigger | ( | ) |
Definition at line 1404 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_diffuse_trigger | ( | ) |
Definition at line 1410 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_focus_trigger | ( | ) |
Definition at line 1409 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_high_trigger | ( | ) |
Definition at line 1407 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_low_trigger | ( | ) |
Definition at line 1405 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_medium_trigger | ( | ) |
Definition at line 1406 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_middle_trigger | ( | ) |
Definition at line 1408 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_off_trigger | ( | ) |
Definition at line 1403 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_on_trigger | ( | ) |
Definition at line 1402 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_quiet_trigger | ( | ) |
Definition at line 1411 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_only_action_trigger | ( | ) |
Definition at line 1389 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_fan_only_mode_trigger | ( | ) |
Definition at line 1398 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_heat_action_trigger | ( | ) |
Definition at line 1390 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_heat_cool_mode_trigger | ( | ) |
Definition at line 1400 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_heat_mode_trigger | ( | ) |
Definition at line 1399 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_humidity_change_trigger | ( | ) |
Definition at line 1416 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_humidity_control_dehumidify_action_trigger | ( | ) |
Definition at line 1419 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_humidity_control_humidify_action_trigger | ( | ) |
Definition at line 1422 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_humidity_control_off_action_trigger | ( | ) |
Definition at line 1425 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_idle_action_trigger | ( | ) |
Definition at line 1394 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_off_mode_trigger | ( | ) |
Definition at line 1401 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_preset_change_trigger | ( | ) |
Definition at line 1418 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_supplemental_cool_action_trigger | ( | ) |
Definition at line 1385 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_supplemental_heat_action_trigger | ( | ) |
Definition at line 1391 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_both_trigger | ( | ) |
Definition at line 1412 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_horizontal_trigger | ( | ) |
Definition at line 1414 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_off_trigger | ( | ) |
Definition at line 1413 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_vertical_trigger | ( | ) |
Definition at line 1415 of file thermostat_climate.cpp.
| Trigger * esphome::thermostat::ThermostatClimate::get_temperature_change_trigger | ( | ) |
Definition at line 1417 of file thermostat_climate.cpp.
|
inline |
Definition at line 218 of file thermostat_climate.h.
|
inline |
Definition at line 219 of file thermostat_climate.h.
|
protected |
Definition at line 880 of file thermostat_climate.cpp.
|
protected |
Definition at line 984 of file thermostat_climate.cpp.
|
protected |
Definition at line 991 of file thermostat_climate.cpp.
|
protected |
Definition at line 997 of file thermostat_climate.cpp.
|
protected |
Definition at line 1088 of file thermostat_climate.cpp.
|
protected |
Definition at line 1142 of file thermostat_climate.cpp.
| bool esphome::thermostat::ThermostatClimate::humidity_hysteresis_valid | ( | ) |
Definition at line 130 of file thermostat_climate.cpp.
| bool esphome::thermostat::ThermostatClimate::hysteresis_valid | ( | ) |
Set point and hysteresis validation.
Definition at line 119 of file thermostat_climate.cpp.
|
protected |
Is the action ready to be called? Returns true if so.
Definition at line 845 of file thermostat_climate.cpp.
|
protected |
Definition at line 1003 of file thermostat_climate.cpp.
| bool esphome::thermostat::ThermostatClimate::limit_setpoints_for_heat_cool | ( | ) |
Definition at line 135 of file thermostat_climate.cpp.
|
inline |
Returns the fan mode that is locked in (check fan_mode_change_delayed(), first!)
Definition at line 228 of file thermostat_climate.h.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 68 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::refresh | ( | ) |
Call triggers based on updated climate states (modes/actions)
Definition at line 79 of file thermostat_climate.cpp.
|
inline |
Definition at line 100 of file thermostat_climate.h.
|
inline |
Definition at line 101 of file thermostat_climate.h.
| void esphome::thermostat::ThermostatClimate::set_cooling_maximum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1338 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_cooling_minimum_off_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1341 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_cooling_minimum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1344 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_custom_preset_config | ( | std::initializer_list< CustomPresetEntry > | presets | ) |
Definition at line 1282 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_default_preset | ( | climate::ClimatePreset | preset | ) |
Definition at line 1307 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_default_preset | ( | const char * | custom_preset | ) |
Definition at line 1295 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_fan_mode_minimum_switching_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1347 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_fanning_minimum_off_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1350 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_fanning_minimum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1353 of file thermostat_climate.cpp.
|
inline |
Definition at line 102 of file thermostat_climate.h.
|
inline |
Definition at line 103 of file thermostat_climate.h.
| void esphome::thermostat::ThermostatClimate::set_heating_maximum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1356 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_heating_minimum_off_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1359 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_heating_minimum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1362 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::set_humidity_hysteresis | ( | float | humidity_hysteresis | ) |
Definition at line 1368 of file thermostat_climate.cpp.
|
inline |
Definition at line 117 of file thermostat_climate.h.
| void esphome::thermostat::ThermostatClimate::set_idle_minimum_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1365 of file thermostat_climate.cpp.
|
inline |
Definition at line 96 of file thermostat_climate.h.
|
inline |
Definition at line 178 of file thermostat_climate.h.
|
inline |
Definition at line 116 of file thermostat_climate.h.
|
inline |
Definition at line 99 of file thermostat_climate.h.
|
inline |
Definition at line 104 of file thermostat_climate.h.
|
inline |
Definition at line 105 of file thermostat_climate.h.
|
inline |
Definition at line 120 of file thermostat_climate.h.
|
inline |
Definition at line 122 of file thermostat_climate.h.
| void esphome::thermostat::ThermostatClimate::set_supports_dehumidification | ( | bool | supports_dehumidification | ) |
Definition at line 1371 of file thermostat_climate.cpp.
|
inline |
Definition at line 123 of file thermostat_climate.h.
|
inline |
Definition at line 140 of file thermostat_climate.h.
|
inline |
Definition at line 156 of file thermostat_climate.h.
|
inline |
Definition at line 153 of file thermostat_climate.h.
|
inline |
Definition at line 147 of file thermostat_climate.h.
|
inline |
Definition at line 143 of file thermostat_climate.h.
|
inline |
Definition at line 144 of file thermostat_climate.h.
|
inline |
Definition at line 150 of file thermostat_climate.h.
|
inline |
Definition at line 139 of file thermostat_climate.h.
|
inline |
Definition at line 138 of file thermostat_climate.h.
|
inline |
Definition at line 159 of file thermostat_climate.h.
|
inline |
Definition at line 124 of file thermostat_climate.h.
|
inline |
Definition at line 125 of file thermostat_climate.h.
|
inline |
Definition at line 128 of file thermostat_climate.h.
|
inline |
Definition at line 131 of file thermostat_climate.h.
|
inline |
Definition at line 134 of file thermostat_climate.h.
|
inline |
Definition at line 137 of file thermostat_climate.h.
|
inline |
Definition at line 121 of file thermostat_climate.h.
| void esphome::thermostat::ThermostatClimate::set_supports_humidification | ( | bool | supports_humidification | ) |
Definition at line 1377 of file thermostat_climate.cpp.
|
inline |
Definition at line 162 of file thermostat_climate.h.
|
inline |
Definition at line 165 of file thermostat_climate.h.
|
inline |
Definition at line 168 of file thermostat_climate.h.
|
inline |
Definition at line 171 of file thermostat_climate.h.
|
inline |
Definition at line 176 of file thermostat_climate.h.
|
protected |
Enhanced timer duration setter with running timer adjustment.
Definition at line 1309 of file thermostat_climate.cpp.
|
inline |
Definition at line 119 of file thermostat_climate.h.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 11 of file thermostat_climate.cpp.
|
protected |
Start/cancel/get status of climate action timer.
Definition at line 887 of file thermostat_climate.cpp.
|
protected |
Definition at line 1109 of file thermostat_climate.cpp.
|
protected |
Definition at line 1119 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate action.
Definition at line 477 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate fan mode.
Definition at line 688 of file thermostat_climate.cpp.
|
protected |
Definition at line 652 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate mode.
Definition at line 759 of file thermostat_climate.cpp.
|
protected |
Definition at line 598 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate swing mode.
Definition at line 806 of file thermostat_climate.cpp.
|
protected |
Definition at line 900 of file thermostat_climate.cpp.
|
protected |
Definition at line 904 of file thermostat_climate.cpp.
|
overrideprotectedvirtual |
Return the traits of this controller.
Implements esphome::climate::Climate.
Definition at line 268 of file thermostat_climate.cpp.
|
protected |
Definition at line 625 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::validate_target_humidity | ( | ) |
Definition at line 195 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::validate_target_temperature | ( | ) |
Definition at line 140 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::validate_target_temperature_high | ( | ) |
Definition at line 181 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::validate_target_temperature_low | ( | ) |
Definition at line 167 of file thermostat_climate.cpp.
| void esphome::thermostat::ThermostatClimate::validate_target_temperatures | ( | bool | pin_target_temperature_high | ) |
Definition at line 153 of file thermostat_climate.cpp.
|
protected |
Trigger for auto mode.
Definition at line 470 of file thermostat_climate.h.
|
protected |
Trigger for cooling action/mode.
Definition at line 453 of file thermostat_climate.h.
|
protected |
Definition at line 455 of file thermostat_climate.h.
|
protected |
Hysteresis values used for computing climate actions.
Definition at line 435 of file thermostat_climate.h.
|
protected |
Flags indicating if maximum allowable run time was exceeded.
Definition at line 414 of file thermostat_climate.h.
|
protected |
Definition at line 436 of file thermostat_climate.h.
|
protected |
The set of custom preset configurations this thermostat supports (eg. "My Custom Preset")
Definition at line 528 of file thermostat_climate.h.
|
protected |
Default standard preset to use on start up.
Definition at line 346 of file thermostat_climate.h.
|
protected |
Trigger for dry (dehumidification) mode.
Definition at line 458 of file thermostat_climate.h.
|
protected |
Definition at line 459 of file thermostat_climate.h.
|
protected |
Definition at line 483 of file thermostat_climate.h.
|
protected |
Definition at line 489 of file thermostat_climate.h.
|
protected |
Definition at line 488 of file thermostat_climate.h.
|
protected |
Definition at line 486 of file thermostat_climate.h.
|
protected |
Definition at line 484 of file thermostat_climate.h.
|
protected |
Definition at line 485 of file thermostat_climate.h.
|
protected |
Definition at line 487 of file thermostat_climate.h.
|
protected |
Definition at line 482 of file thermostat_climate.h.
|
protected |
Fan mode triggers.
Definition at line 481 of file thermostat_climate.h.
|
protected |
Definition at line 490 of file thermostat_climate.h.
|
protected |
Trigger for fan-only action/mode.
Definition at line 477 of file thermostat_climate.h.
|
protected |
Definition at line 478 of file thermostat_climate.h.
|
protected |
Trigger for heating action/mode.
Definition at line 462 of file thermostat_climate.h.
|
protected |
Trigger for heat/cool mode.
Definition at line 467 of file thermostat_climate.h.
|
protected |
Definition at line 464 of file thermostat_climate.h.
|
protected |
Definition at line 437 of file thermostat_climate.h.
|
protected |
Definition at line 415 of file thermostat_climate.h.
|
protected |
Definition at line 438 of file thermostat_climate.h.
| HumidificationAction esphome::thermostat::ThermostatClimate::humidification_action {THERMOSTAT_HUMIDITY_CONTROL_ACTION_NONE} |
The current humidification action.
Definition at line 240 of file thermostat_climate.h.
|
protected |
Trigger for target humidity changes.
Definition at line 499 of file thermostat_climate.h.
|
protected |
Humidity control triggers.
Definition at line 508 of file thermostat_climate.h.
|
protected |
Definition at line 509 of file thermostat_climate.h.
|
protected |
Definition at line 510 of file thermostat_climate.h.
|
protected |
Hysteresis values used for computing humidification action.
Definition at line 441 of file thermostat_climate.h.
|
protected |
The sensor used for getting the current humidity.
Definition at line 450 of file thermostat_climate.h.
|
protected |
Trigger for idle action/off mode.
Definition at line 473 of file thermostat_climate.h.
|
protected |
Minimum allowable duration in seconds for action timers.
Definition at line 333 of file thermostat_climate.h.
|
protected |
Definition at line 474 of file thermostat_climate.h.
|
protected |
If set to DEFAULT_PRESET then the default preset is always used.
When MEMORY prior state will attempt to be restored if possible
Definition at line 350 of file thermostat_climate.h.
|
protected |
Trigger for preset mode changes.
Definition at line 505 of file thermostat_climate.h.
|
protected |
The set of standard preset configurations this thermostat supports (Eg. AWAY, ECO, etc)
Definition at line 526 of file thermostat_climate.h.
|
protected |
A reference to the trigger that was previously active.
This is so that the previous trigger can be stopped before enabling a new one for each climate category (mode, action, fan_mode, swing_mode).
Definition at line 516 of file thermostat_climate.h.
|
protected |
Store previously-known states.
These are used to determine when a trigger/action needs to be called
Definition at line 338 of file thermostat_climate.h.
|
protected |
Definition at line 517 of file thermostat_climate.h.
|
protected |
Definition at line 520 of file thermostat_climate.h.
|
protected |
Definition at line 339 of file thermostat_climate.h.
|
protected |
Definition at line 518 of file thermostat_climate.h.
|
protected |
Definition at line 340 of file thermostat_climate.h.
|
protected |
Definition at line 519 of file thermostat_climate.h.
|
protected |
Store previously-known humidity and temperatures.
These are used to determine when a temperature/humidity has changed
Definition at line 426 of file thermostat_climate.h.
|
protected |
Definition at line 427 of file thermostat_climate.h.
|
protected |
Definition at line 429 of file thermostat_climate.h.
|
protected |
Definition at line 428 of file thermostat_climate.h.
|
protected |
The sensor used for getting the current temperature.
Definition at line 448 of file thermostat_climate.h.
|
protected |
Minimum differential required between set points.
Definition at line 432 of file thermostat_climate.h.
|
protected |
setup_complete_ blocks modifying/resetting the temps immediately after boot
Definition at line 421 of file thermostat_climate.h.
|
protected |
The current supplemental action.
Definition at line 343 of file thermostat_climate.h.
|
protected |
Definition at line 454 of file thermostat_climate.h.
|
protected |
Maximum allowable temperature deltas before engaging supplemental cooling/heating actions.
Definition at line 444 of file thermostat_climate.h.
|
protected |
Definition at line 463 of file thermostat_climate.h.
|
protected |
Definition at line 445 of file thermostat_climate.h.
|
protected |
Whether the controller supports auto/cooling/drying/fanning/heating.
A false value for any given attribute means that the controller has no such action (for example a thermostat, where only heating and not-heating is possible).
Definition at line 356 of file thermostat_climate.h.
|
protected |
Definition at line 358 of file thermostat_climate.h.
|
protected |
Whether the controller supports dehumidification and/or humidification.
A false value means that the controller has no such support.
Definition at line 410 of file thermostat_climate.h.
|
protected |
Definition at line 359 of file thermostat_climate.h.
|
protected |
Whether the controller supports fan auto mode.
A false value for this attribute means that the controller has no fan-auto action (for example a thermostat, where independent control of the fan is not possible).
Definition at line 381 of file thermostat_climate.h.
|
protected |
Definition at line 391 of file thermostat_climate.h.
|
protected |
Definition at line 390 of file thermostat_climate.h.
|
protected |
Definition at line 388 of file thermostat_climate.h.
|
protected |
Whether the controller supports various fan speeds and/or positions.
A false value for any given attribute means that the controller has no such fan action.
Definition at line 386 of file thermostat_climate.h.
|
protected |
Definition at line 387 of file thermostat_climate.h.
|
protected |
Definition at line 389 of file thermostat_climate.h.
|
protected |
Definition at line 375 of file thermostat_climate.h.
|
protected |
Whether the controller supports turning on or off just the fan.
A false value for either attribute means that the controller has no fan on/off action (for example a thermostat, where independent control of the fan is not possible).
Definition at line 374 of file thermostat_climate.h.
|
protected |
Definition at line 392 of file thermostat_climate.h.
|
protected |
Definition at line 360 of file thermostat_climate.h.
|
protected |
Special flag – enables fan_modes to share timer with fan_only climate action.
Definition at line 363 of file thermostat_climate.h.
|
protected |
Special flag – enables fan to be switched based on target_temperature_high.
Definition at line 365 of file thermostat_climate.h.
|
protected |
Special flags – enables fan_only action to be called with cooling/heating actions.
Definition at line 367 of file thermostat_climate.h.
|
protected |
Definition at line 368 of file thermostat_climate.h.
|
protected |
Definition at line 361 of file thermostat_climate.h.
|
protected |
Definition at line 357 of file thermostat_climate.h.
|
protected |
Definition at line 411 of file thermostat_climate.h.
|
protected |
Whether the controller supports various swing modes.
A false value for any given attribute means that the controller has no such swing mode.
Definition at line 397 of file thermostat_climate.h.
|
protected |
Definition at line 399 of file thermostat_climate.h.
|
protected |
Definition at line 398 of file thermostat_climate.h.
|
protected |
Definition at line 400 of file thermostat_climate.h.
|
protected |
Whether the controller supports two set points.
A false value means that the controller has no such support.
Definition at line 405 of file thermostat_climate.h.
|
protected |
Swing mode triggers.
Definition at line 493 of file thermostat_climate.h.
|
protected |
Definition at line 495 of file thermostat_climate.h.
|
protected |
Definition at line 494 of file thermostat_climate.h.
|
protected |
Definition at line 496 of file thermostat_climate.h.
|
protected |
Trigger for target temperature changes.
Definition at line 502 of file thermostat_climate.h.
|
protected |
Climate action timers.
Definition at line 523 of file thermostat_climate.h.
|
protected |
Used to start "off" delay timers at boot.
Definition at line 418 of file thermostat_climate.h.