ESPHome
2024.10.2
|
#include <thermostat_climate.h>
Public Member Functions | |
ThermostatClimate () | |
void | setup () override |
void | dump_config () override |
void | loop () override |
void | set_default_preset (const std::string &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_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 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_two_points (bool supports_two_points) |
void | set_preset_config (climate::ClimatePreset preset, const ThermostatClimateTargetTempConfig &config) |
void | set_custom_preset_config (const std::string &name, const ThermostatClimateTargetTempConfig &config) |
Trigger * | get_cool_action_trigger () const |
Trigger * | get_supplemental_cool_action_trigger () const |
Trigger * | get_dry_action_trigger () const |
Trigger * | get_fan_only_action_trigger () const |
Trigger * | get_heat_action_trigger () const |
Trigger * | get_supplemental_heat_action_trigger () const |
Trigger * | get_idle_action_trigger () const |
Trigger * | get_auto_mode_trigger () const |
Trigger * | get_cool_mode_trigger () const |
Trigger * | get_dry_mode_trigger () const |
Trigger * | get_fan_only_mode_trigger () const |
Trigger * | get_heat_mode_trigger () const |
Trigger * | get_off_mode_trigger () const |
Trigger * | get_fan_mode_on_trigger () const |
Trigger * | get_fan_mode_off_trigger () const |
Trigger * | get_fan_mode_auto_trigger () const |
Trigger * | get_fan_mode_low_trigger () const |
Trigger * | get_fan_mode_medium_trigger () const |
Trigger * | get_fan_mode_high_trigger () const |
Trigger * | get_fan_mode_middle_trigger () const |
Trigger * | get_fan_mode_focus_trigger () const |
Trigger * | get_fan_mode_diffuse_trigger () const |
Trigger * | get_fan_mode_quiet_trigger () const |
Trigger * | get_swing_mode_both_trigger () const |
Trigger * | get_swing_mode_horizontal_trigger () const |
Trigger * | get_swing_mode_off_trigger () const |
Trigger * | get_swing_mode_vertical_trigger () const |
Trigger * | get_temperature_change_trigger () const |
Trigger * | get_preset_change_trigger () const |
float | cool_deadband () |
Get current hysteresis values. More... | |
float | cool_overrun () |
float | heat_deadband () |
float | heat_overrun () |
void | refresh () |
Call triggers based on updated climate states (modes/actions) More... | |
bool | climate_action_change_delayed () |
Returns true if a climate action/fan mode transition is being delayed. More... | |
bool | fan_mode_change_delayed () |
climate::ClimateAction | delayed_climate_action () |
Returns the climate action that is being delayed (check climate_action_change_delayed(), first!) More... | |
climate::ClimateFanMode | locked_fan_mode () |
Returns the fan mode that is locked in (check fan_mode_change_delayed(), first!) More... | |
bool | hysteresis_valid () |
Set point and hysteresis validation. More... | |
void | validate_target_temperature () |
void | validate_target_temperatures () |
void | validate_target_temperature_low () |
void | validate_target_temperature_high () |
Public Member Functions inherited from esphome::climate::Climate | |
Climate () | |
void | add_on_state_callback (std::function< void(Climate &)> &&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. More... | |
void | add_on_control_callback (std::function< void(ClimateCall &)> &&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. More... | |
ClimateCall | make_call () |
Make a climate device control call, this is used to control the climate device, see the ClimateCall description for more info. More... | |
void | publish_state () |
Publish the state of the climate device, to be called from integrations. More... | |
ClimateTraits | get_traits () |
Get the traits of this climate device with all overrides applied. More... | |
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) |
Public Member Functions inherited from esphome::EntityBase | |
const StringRef & | get_name () const |
void | set_name (const char *name) |
bool | has_own_name () const |
std::string | get_object_id () const |
void | set_object_id (const char *object_id) |
uint32_t | get_object_id_hash () |
bool | is_internal () const |
void | set_internal (bool internal) |
bool | is_disabled_by_default () const |
void | set_disabled_by_default (bool disabled_by_default) |
EntityCategory | get_entity_category () const |
void | set_entity_category (EntityCategory entity_category) |
std::string | get_icon () const |
void | set_icon (const char *icon) |
Public Member Functions inherited from esphome::Component | |
virtual float | get_setup_priority () const |
priority of setup(). More... | |
float | get_actual_setup_priority () const |
void | set_setup_priority (float priority) |
virtual float | get_loop_priority () const |
priority of loop(). More... | |
void | call () |
virtual void | on_shutdown () |
virtual void | on_safe_shutdown () |
uint32_t | get_component_state () const |
virtual void | mark_failed () |
Mark this component as failed. More... | |
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 (const char *message="unspecified") |
void | status_set_error (const char *message="unspecified") |
void | status_clear_warning () |
void | status_clear_error () |
void | status_momentary_warning (const std::string &name, uint32_t length=5000) |
void | status_momentary_error (const std::string &name, uint32_t length=5000) |
bool | has_overridden_loop () const |
void | set_component_source (const char *source) |
Set where this component was loaded from for some debug messages. More... | |
const char * | get_component_source () const |
Get the integration where this component was declared as a string. More... | |
Protected Member Functions | |
void | control (const climate::ClimateCall &call) override |
Override control to change settings of the climate device. More... | |
void | change_preset_ (climate::ClimatePreset preset) |
Change to a provided preset setting; will reset temperature, mode, fan, and swing modes accordingly. More... | |
void | change_custom_preset_ (const std::string &custom_preset) |
Change to a provided custom preset setting; will reset temperature, mode, fan, and swing modes accordingly. More... | |
bool | change_preset_internal_ (const ThermostatClimateTargetTempConfig &config) |
Applies the temperature, mode, fan, and swing modes of the provided config. More... | |
climate::ClimateTraits | traits () override |
Return the traits of this controller. More... | |
climate::ClimateAction | compute_action_ (bool ignore_timers=false) |
Re-compute the required action of this climate controller. More... | |
climate::ClimateAction | compute_supplemental_action_ () |
void | switch_to_action_ (climate::ClimateAction action, bool publish_state=true) |
Switch the climate device to the given climate action. More... | |
void | switch_to_supplemental_action_ (climate::ClimateAction action) |
void | trigger_supplemental_action_ () |
void | switch_to_fan_mode_ (climate::ClimateFanMode fan_mode, bool publish_state=true) |
Switch the climate device to the given climate fan mode. More... | |
void | switch_to_mode_ (climate::ClimateMode mode, bool publish_state=true) |
Switch the climate device to the given climate mode. More... | |
void | switch_to_swing_mode_ (climate::ClimateSwingMode swing_mode, bool publish_state=true) |
Switch the climate device to the given climate swing mode. More... | |
void | check_temperature_change_trigger_ () |
Check if the temperature change trigger should be called. More... | |
bool | idle_action_ready_ () |
Is the action ready to be called? Returns true if so. More... | |
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. More... | |
bool | cancel_timer_ (ThermostatClimateTimerIndex timer_index) |
bool | timer_active_ (ThermostatClimateTimerIndex timer_index) |
uint32_t | timer_duration_ (ThermostatClimateTimerIndex timer_index) |
std::function< void()> | timer_cbf_ (ThermostatClimateTimerIndex timer_index) |
void | cooling_max_run_time_timer_callback_ () |
set_timeout() callbacks for various actions (see above) More... | |
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. More... | |
bool | fanning_required_ () |
bool | heating_required_ () |
bool | supplemental_cooling_required_ () |
bool | supplemental_heating_required_ () |
void | dump_preset_config_ (const char *preset_name, const ThermostatClimateTargetTempConfig &config, bool is_default_preset) |
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. More... | |
bool | set_custom_fan_mode_ (const std::string &mode) |
Set custom fan mode. Reset primary fan mode. Return true if fan mode has been changed. More... | |
bool | set_preset_ (ClimatePreset preset) |
Set preset. Reset custom preset. Return true if preset has been changed. More... | |
bool | set_custom_preset_ (const std::string &preset) |
Set custom preset. Reset primary preset. Return true if preset has been changed. More... | |
optional< ClimateDeviceRestoreState > | restore_state_ () |
Restore the state of the climate device, call this from your setup() method. More... | |
void | save_state_ () |
Internal method to save the state of the climate device to recover memory. More... | |
void | dump_traits_ (const char *tag) |
Protected Member Functions inherited from esphome::EntityBase | |
virtual uint32_t | hash_base () |
The hash_base() function has been deprecated. More... | |
void | calc_object_id_ () |
Protected Member Functions inherited from esphome::Component | |
virtual void | call_loop () |
virtual void | call_setup () |
virtual void | call_dump_config () |
void | set_interval (const std::string &name, uint32_t interval, std::function< void()> &&f) |
Set an interval function with a unique name. More... | |
void | set_interval (uint32_t interval, std::function< void()> &&f) |
bool | cancel_interval (const std::string &name) |
Cancel an interval function. More... | |
void | set_retry (const std::string &name, uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult(uint8_t)> &&f, float backoff_increase_factor=1.0f) |
Set an retry function with a unique name. More... | |
void | set_retry (uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult(uint8_t)> &&f, float backoff_increase_factor=1.0f) |
bool | cancel_retry (const std::string &name) |
Cancel a retry function. More... | |
void | set_timeout (const std::string &name, uint32_t timeout, std::function< void()> &&f) |
Set a timeout function with a unique name. More... | |
void | set_timeout (uint32_t timeout, std::function< void()> &&f) |
bool | cancel_timeout (const std::string &name) |
Cancel a timeout function. More... | |
void | defer (const std::string &name, std::function< void()> &&f) |
Defer a callback to the next loop() call. More... | |
void | defer (std::function< void()> &&f) |
Defer a callback to the next loop() call. More... | |
bool | cancel_defer (const std::string &name) |
Cancel a defer callback using the specified name, name must not be empty. More... | |
Protected Attributes | |
sensor::Sensor * | sensor_ {nullptr} |
The sensor used for getting the current temperature. More... | |
sensor::Sensor * | humidity_sensor_ {nullptr} |
The sensor used for getting the current humidity. More... | |
bool | supports_auto_ {false} |
Whether the controller supports auto/cooling/drying/fanning/heating. More... | |
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. More... | |
bool | supports_fan_only_cooling_ {false} |
Special flag – enables fan to be switched based on target_temperature_high. More... | |
bool | supports_fan_with_cooling_ {false} |
Special flags – enables fan_only action to be called with cooling/heating actions. More... | |
bool | supports_fan_with_heating_ {false} |
bool | supports_fan_mode_on_ {false} |
Whether the controller supports turning on or off just the fan. More... | |
bool | supports_fan_mode_off_ {false} |
bool | supports_fan_mode_auto_ {false} |
Whether the controller supports fan auto mode. More... | |
bool | supports_fan_mode_low_ {false} |
Whether the controller supports various fan speeds and/or positions. More... | |
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. More... | |
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. More... | |
bool | cooling_max_runtime_exceeded_ {false} |
Flags indicating if maximum allowable run time was exceeded. More... | |
bool | heating_max_runtime_exceeded_ {false} |
bool | use_startup_delay_ {false} |
Used to start "off" delay timers at boot. More... | |
bool | setup_complete_ {false} |
setup_complete_ blocks modifying/resetting the temps immediately after boot More... | |
Trigger * | cool_action_trigger_ {nullptr} |
The trigger to call when the controller should switch to cooling action/mode. More... | |
Trigger * | supplemental_cool_action_trigger_ {nullptr} |
Trigger * | cool_mode_trigger_ {nullptr} |
Trigger * | dry_action_trigger_ {nullptr} |
The trigger to call when the controller should switch to dry (dehumidification) mode. More... | |
Trigger * | dry_mode_trigger_ {nullptr} |
Trigger * | heat_action_trigger_ {nullptr} |
The trigger to call when the controller should switch to heating action/mode. More... | |
Trigger * | supplemental_heat_action_trigger_ {nullptr} |
Trigger * | heat_mode_trigger_ {nullptr} |
Trigger * | auto_mode_trigger_ {nullptr} |
The trigger to call when the controller should switch to auto mode. More... | |
Trigger * | idle_action_trigger_ {nullptr} |
The trigger to call when the controller should switch to idle action/off mode. More... | |
Trigger * | off_mode_trigger_ {nullptr} |
Trigger * | fan_only_action_trigger_ {nullptr} |
The trigger to call when the controller should switch to fan-only action/mode. More... | |
Trigger * | fan_only_mode_trigger_ {nullptr} |
Trigger * | fan_mode_on_trigger_ {nullptr} |
The trigger to call when the controller should switch on the fan. More... | |
Trigger * | fan_mode_off_trigger_ {nullptr} |
The trigger to call when the controller should switch off the fan. More... | |
Trigger * | fan_mode_auto_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "auto" mode. More... | |
Trigger * | fan_mode_low_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "low" speed. More... | |
Trigger * | fan_mode_medium_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "medium" speed. More... | |
Trigger * | fan_mode_high_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "high" speed. More... | |
Trigger * | fan_mode_middle_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "middle" position. More... | |
Trigger * | fan_mode_focus_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "focus" position. More... | |
Trigger * | fan_mode_diffuse_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "diffuse" position. More... | |
Trigger * | fan_mode_quiet_trigger_ {nullptr} |
The trigger to call when the controller should switch the fan to "quiet" position. More... | |
Trigger * | swing_mode_both_trigger_ {nullptr} |
The trigger to call when the controller should switch the swing mode to "both". More... | |
Trigger * | swing_mode_off_trigger_ {nullptr} |
The trigger to call when the controller should switch the swing mode to "off". More... | |
Trigger * | swing_mode_horizontal_trigger_ {nullptr} |
The trigger to call when the controller should switch the swing mode to "horizontal". More... | |
Trigger * | swing_mode_vertical_trigger_ {nullptr} |
The trigger to call when the controller should switch the swing mode to "vertical". More... | |
Trigger * | temperature_change_trigger_ {nullptr} |
The trigger to call when the target temperature(s) change(es). More... | |
Trigger * | preset_change_trigger_ {nullptr} |
The triggr to call when the preset mode changes. More... | |
Trigger * | prev_action_trigger_ {nullptr} |
A reference to the trigger that was previously active. More... | |
Trigger * | prev_fan_mode_trigger_ {nullptr} |
Trigger * | prev_mode_trigger_ {nullptr} |
Trigger * | prev_swing_mode_trigger_ {nullptr} |
climate::ClimateAction | supplemental_action_ {climate::CLIMATE_ACTION_OFF} |
Store previously-known states. More... | |
climate::ClimateFanMode | prev_fan_mode_ {climate::CLIMATE_FAN_ON} |
climate::ClimateMode | prev_mode_ {climate::CLIMATE_MODE_OFF} |
climate::ClimateSwingMode | prev_swing_mode_ {climate::CLIMATE_SWING_OFF} |
float | prev_target_temperature_ {NAN} |
Store previously-known temperatures. More... | |
float | prev_target_temperature_low_ {NAN} |
float | prev_target_temperature_high_ {NAN} |
float | set_point_minimum_differential_ {0} |
Minimum differential required between set points. More... | |
float | cooling_deadband_ {0} |
Hysteresis values used for computing climate actions. More... | |
float | cooling_overrun_ {0} |
float | heating_deadband_ {0} |
float | heating_overrun_ {0} |
float | supplemental_cool_delta_ {0} |
Maximum allowable temperature deltas before engauging supplemental cooling/heating actions. More... | |
float | supplemental_heat_delta_ {0} |
const uint8_t | min_timer_duration_ {1} |
Minimum allowable duration in seconds for action timers. More... | |
std::vector< ThermostatClimateTimer > | timer_ |
Climate action timers. More... | |
std::map< climate::ClimatePreset, ThermostatClimateTargetTempConfig > | preset_config_ {} |
The set of standard preset configurations this thermostat supports (Eg. AWAY, ECO, etc) More... | |
std::map< std::string, ThermostatClimateTargetTempConfig > | custom_preset_config_ {} |
The set of custom preset configurations this thermostat supports (eg. "My Custom Preset") More... | |
climate::ClimatePreset | default_preset_ {} |
Default standard preset to use on start up. More... | |
std::string | default_custom_preset_ {} |
Default custom preset to use on start up. More... | |
thermostat::OnBootRestoreFrom | on_boot_restore_from_ {thermostat::OnBootRestoreFrom::MEMORY} |
If set to DEFAULT_PRESET then the default preset is always used. More... | |
Protected Attributes inherited from esphome::climate::Climate | |
friend | ClimateCall |
CallbackManager< void(Climate &)> | state_callback_ {} |
CallbackManager< void(ClimateCall &)> | control_callback_ {} |
ESPPreferenceObject | rtc_ |
optional< float > | visual_min_temperature_override_ {} |
optional< float > | visual_max_temperature_override_ {} |
optional< float > | visual_target_temperature_step_override_ {} |
optional< float > | visual_current_temperature_step_override_ {} |
optional< float > | visual_min_humidity_override_ {} |
optional< float > | visual_max_humidity_override_ {} |
Protected Attributes inherited from esphome::EntityBase | |
StringRef | name_ |
const char * | object_id_c_str_ {nullptr} |
const char * | icon_c_str_ {nullptr} |
uint32_t | object_id_hash_ |
bool | has_own_name_ {false} |
bool | internal_ {false} |
bool | disabled_by_default_ {false} |
EntityCategory | entity_category_ {ENTITY_CATEGORY_NONE} |
Protected Attributes inherited from esphome::Component | |
uint32_t | component_state_ {0x0000} |
State of this component. More... | |
float | setup_priority_override_ {NAN} |
const char * | component_source_ {nullptr} |
Additional Inherited Members | |
Data Fields inherited from esphome::climate::Climate | |
ClimateMode | mode {CLIMATE_MODE_OFF} |
The active mode of the climate device. More... | |
ClimateAction | action {CLIMATE_ACTION_OFF} |
The active state of the climate device. More... | |
float | current_temperature {NAN} |
The current temperature of the climate device, as reported from the integration. More... | |
float | current_humidity {NAN} |
The current humidity of the climate device, as reported from the integration. More... | |
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. More... | |
optional< ClimateFanMode > | fan_mode |
The active fan mode of the climate device. More... | |
ClimateSwingMode | swing_mode |
The active swing mode of the climate device. More... | |
optional< std::string > | custom_fan_mode |
The active custom fan mode of the climate device. More... | |
optional< ClimatePreset > | preset |
The active preset of the climate device. More... | |
optional< std::string > | custom_preset |
The active custom preset mode of the climate device. More... | |
Definition at line 59 of file thermostat_climate.h.
esphome::thermostat::ThermostatClimate::ThermostatClimate | ( | ) |
Definition at line 1100 of file thermostat_climate.cpp.
|
protected |
Definition at line 773 of file thermostat_climate.cpp.
|
protected |
Change to a provided custom preset setting; will reset temperature, mode, fan, and swing modes accordingly.
Definition at line 1022 of file thermostat_climate.cpp.
|
protected |
Change to a provided preset setting; will reset temperature, mode, fan, and swing modes accordingly.
Definition at line 996 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 1048 of file thermostat_climate.cpp.
|
protected |
Check if the temperature change trigger should be called.
Definition at line 852 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 89 of file thermostat_climate.cpp.
|
protected |
Re-compute the required action of this climate controller.
Definition at line 295 of file thermostat_climate.cpp.
|
protected |
Definition at line 357 of file thermostat_climate.cpp.
|
overrideprotectedvirtual |
Override control to change settings of the climate device.
Implements esphome::climate::Climate.
Definition at line 191 of file thermostat_climate.cpp.
float esphome::thermostat::ThermostatClimate::cool_deadband | ( | ) |
Get current hysteresis values.
Definition at line 74 of file thermostat_climate.cpp.
float esphome::thermostat::ThermostatClimate::cool_overrun | ( | ) |
Definition at line 75 of file thermostat_climate.cpp.
|
protected |
Definition at line 742 of file thermostat_climate.cpp.
|
protected |
set_timeout() callbacks for various actions (see above)
Definition at line 791 of file thermostat_climate.cpp.
|
protected |
Definition at line 798 of file thermostat_climate.cpp.
|
protected |
Definition at line 804 of file thermostat_climate.cpp.
|
protected |
Check if cooling/fanning/heating actions are required; returns true if so.
Definition at line 878 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 115 of file thermostat_climate.cpp.
|
protected |
Definition at line 747 of file thermostat_climate.cpp.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 1295 of file thermostat_climate.cpp.
|
protected |
Definition at line 961 of file thermostat_climate.cpp.
bool esphome::thermostat::ThermostatClimate::fan_mode_change_delayed | ( | ) |
Definition at line 110 of file thermostat_climate.cpp.
|
protected |
Definition at line 752 of file thermostat_climate.cpp.
|
protected |
Definition at line 810 of file thermostat_climate.cpp.
|
protected |
Definition at line 754 of file thermostat_climate.cpp.
|
protected |
Definition at line 817 of file thermostat_climate.cpp.
|
protected |
Definition at line 822 of file thermostat_climate.cpp.
|
protected |
Definition at line 898 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_auto_mode_trigger | ( | ) | const |
Definition at line 1272 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_cool_action_trigger | ( | ) | const |
Definition at line 1261 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_cool_mode_trigger | ( | ) | const |
Definition at line 1273 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_dry_action_trigger | ( | ) | const |
Definition at line 1265 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_dry_mode_trigger | ( | ) | const |
Definition at line 1274 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_auto_trigger | ( | ) | const |
Definition at line 1280 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_diffuse_trigger | ( | ) | const |
Definition at line 1286 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_focus_trigger | ( | ) | const |
Definition at line 1285 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_high_trigger | ( | ) | const |
Definition at line 1283 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_low_trigger | ( | ) | const |
Definition at line 1281 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_medium_trigger | ( | ) | const |
Definition at line 1282 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_middle_trigger | ( | ) | const |
Definition at line 1284 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_off_trigger | ( | ) | const |
Definition at line 1279 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_on_trigger | ( | ) | const |
Definition at line 1278 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_mode_quiet_trigger | ( | ) | const |
Definition at line 1287 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_only_action_trigger | ( | ) | const |
Definition at line 1266 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_fan_only_mode_trigger | ( | ) | const |
Definition at line 1275 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_heat_action_trigger | ( | ) | const |
Definition at line 1267 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_heat_mode_trigger | ( | ) | const |
Definition at line 1276 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_idle_action_trigger | ( | ) | const |
Definition at line 1271 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_off_mode_trigger | ( | ) | const |
Definition at line 1277 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_preset_change_trigger | ( | ) | const |
Definition at line 1293 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_supplemental_cool_action_trigger | ( | ) | const |
Definition at line 1262 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_supplemental_heat_action_trigger | ( | ) | const |
Definition at line 1268 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_both_trigger | ( | ) | const |
Definition at line 1288 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_horizontal_trigger | ( | ) | const |
Definition at line 1290 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_off_trigger | ( | ) | const |
Definition at line 1289 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_swing_mode_vertical_trigger | ( | ) | const |
Definition at line 1291 of file thermostat_climate.cpp.
Trigger * esphome::thermostat::ThermostatClimate::get_temperature_change_trigger | ( | ) | const |
Definition at line 1292 of file thermostat_climate.cpp.
float esphome::thermostat::ThermostatClimate::heat_deadband | ( | ) |
Definition at line 76 of file thermostat_climate.cpp.
float esphome::thermostat::ThermostatClimate::heat_overrun | ( | ) |
Definition at line 77 of file thermostat_climate.cpp.
|
protected |
Definition at line 761 of file thermostat_climate.cpp.
|
protected |
Definition at line 827 of file thermostat_climate.cpp.
|
protected |
Definition at line 834 of file thermostat_climate.cpp.
|
protected |
Definition at line 840 of file thermostat_climate.cpp.
|
protected |
Definition at line 921 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 733 of file thermostat_climate.cpp.
|
protected |
Definition at line 846 of file thermostat_climate.cpp.
climate::ClimateFanMode esphome::thermostat::ThermostatClimate::locked_fan_mode | ( | ) |
Returns the fan mode that is locked in (check fan_mode_change_delayed(), first!)
Definition at line 117 of file thermostat_climate.cpp.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 65 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.
void esphome::thermostat::ThermostatClimate::set_cool_deadband | ( | float | deadband | ) |
Definition at line 1143 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_cool_overrun | ( | float | overrun | ) |
Definition at line 1144 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_cooling_maximum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1149 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_cooling_minimum_off_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1153 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_cooling_minimum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1157 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_custom_preset_config | ( | const std::string & | name, |
const ThermostatClimateTargetTempConfig & | config | ||
) |
Definition at line 1095 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_default_preset | ( | const std::string & | custom_preset | ) |
Definition at line 1131 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_default_preset | ( | climate::ClimatePreset | preset | ) |
Definition at line 1135 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_fan_mode_minimum_switching_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1161 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_fanning_minimum_off_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1165 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_fanning_minimum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1169 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_heat_deadband | ( | float | deadband | ) |
Definition at line 1145 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_heat_overrun | ( | float | overrun | ) |
Definition at line 1146 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_heating_maximum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1173 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_heating_minimum_off_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1177 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_heating_minimum_run_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1181 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_humidity_sensor | ( | sensor::Sensor * | humidity_sensor | ) |
Definition at line 1190 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_idle_minimum_time_in_sec | ( | uint32_t | time | ) |
Definition at line 1185 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_on_boot_restore_from | ( | thermostat::OnBootRestoreFrom | on_boot_restore_from | ) |
Definition at line 1137 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_preset_config | ( | climate::ClimatePreset | preset, |
const ThermostatClimateTargetTempConfig & | config | ||
) |
Definition at line 1090 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_sensor | ( | sensor::Sensor * | sensor | ) |
Definition at line 1189 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_set_point_minimum_differential | ( | float | differential | ) |
Definition at line 1140 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supplemental_cool_delta | ( | float | delta | ) |
Definition at line 1147 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supplemental_heat_delta | ( | float | delta | ) |
Definition at line 1148 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_auto | ( | bool | supports_auto | ) |
Definition at line 1197 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_cool | ( | bool | supports_cool | ) |
Definition at line 1198 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_dry | ( | bool | supports_dry | ) |
Definition at line 1199 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_auto | ( | bool | supports_fan_mode_auto | ) |
Definition at line 1221 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_diffuse | ( | bool | supports_fan_mode_diffuse | ) |
Definition at line 1239 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_focus | ( | bool | supports_fan_mode_focus | ) |
Definition at line 1236 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_high | ( | bool | supports_fan_mode_high | ) |
Definition at line 1230 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_low | ( | bool | supports_fan_mode_low | ) |
Definition at line 1224 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_medium | ( | bool | supports_fan_mode_medium | ) |
Definition at line 1227 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_middle | ( | bool | supports_fan_mode_middle | ) |
Definition at line 1233 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_off | ( | bool | supports_fan_mode_off | ) |
Definition at line 1218 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_on | ( | bool | supports_fan_mode_on | ) |
Definition at line 1215 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_mode_quiet | ( | bool | supports_fan_mode_quiet | ) |
Definition at line 1242 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_only | ( | bool | supports_fan_only | ) |
Definition at line 1200 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_only_action_uses_fan_mode_timer | ( | bool | fan_only_action_uses_fan_mode_timer | ) |
Definition at line 1201 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_only_cooling | ( | bool | supports_fan_only_cooling | ) |
Definition at line 1205 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_with_cooling | ( | bool | supports_fan_with_cooling | ) |
Definition at line 1208 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_fan_with_heating | ( | bool | supports_fan_with_heating | ) |
Definition at line 1211 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_heat | ( | bool | supports_heat | ) |
Definition at line 1214 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_heat_cool | ( | bool | supports_heat_cool | ) |
Definition at line 1194 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_swing_mode_both | ( | bool | supports_swing_mode_both | ) |
Definition at line 1245 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_swing_mode_horizontal | ( | bool | supports_swing_mode_horizontal | ) |
Definition at line 1251 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_swing_mode_off | ( | bool | supports_swing_mode_off | ) |
Definition at line 1248 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_swing_mode_vertical | ( | bool | supports_swing_mode_vertical | ) |
Definition at line 1254 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_supports_two_points | ( | bool | supports_two_points | ) |
Definition at line 1257 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::set_use_startup_delay | ( | bool | use_startup_delay | ) |
Definition at line 1193 of file thermostat_climate.cpp.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 9 of file thermostat_climate.cpp.
|
protected |
Start/cancel/get status of climate action timer.
Definition at line 766 of file thermostat_climate.cpp.
|
protected |
Definition at line 941 of file thermostat_climate.cpp.
|
protected |
Definition at line 951 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate action.
Definition at line 399 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate fan mode.
Definition at line 572 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate mode.
Definition at line 645 of file thermostat_climate.cpp.
|
protected |
Definition at line 518 of file thermostat_climate.cpp.
|
protected |
Switch the climate device to the given climate swing mode.
Definition at line 692 of file thermostat_climate.cpp.
|
protected |
Definition at line 779 of file thermostat_climate.cpp.
|
protected |
Definition at line 787 of file thermostat_climate.cpp.
|
protected |
Definition at line 783 of file thermostat_climate.cpp.
|
overrideprotectedvirtual |
Return the traits of this controller.
Implements esphome::climate::Climate.
Definition at line 234 of file thermostat_climate.cpp.
|
protected |
Definition at line 545 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::validate_target_temperature | ( | ) |
Definition at line 130 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::validate_target_temperature_high | ( | ) |
Definition at line 172 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::validate_target_temperature_low | ( | ) |
Definition at line 153 of file thermostat_climate.cpp.
void esphome::thermostat::ThermostatClimate::validate_target_temperatures | ( | ) |
Definition at line 144 of file thermostat_climate.cpp.
|
protected |
The trigger to call when the controller should switch to auto mode.
In auto mode, the controller will enable heating/cooling as necessary and switch to idle when the temperature is within the thresholds/set points.
Definition at line 342 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch to cooling action/mode.
A null value for this attribute means that the controller has no cooling action For example electric heat, where only heating (power on) and not-heating (power off) is possible.
Definition at line 318 of file thermostat_climate.h.
|
protected |
Definition at line 320 of file thermostat_climate.h.
|
protected |
Hysteresis values used for computing climate actions.
Definition at line 433 of file thermostat_climate.h.
|
protected |
Flags indicating if maximum allowable run time was exceeded.
Definition at line 304 of file thermostat_climate.h.
|
protected |
Definition at line 434 of file thermostat_climate.h.
|
protected |
The set of custom preset configurations this thermostat supports (eg. "My Custom Preset")
Definition at line 462 of file thermostat_climate.h.
|
protected |
Default custom preset to use on start up.
Definition at line 467 of file thermostat_climate.h.
|
protected |
Default standard preset to use on start up.
Definition at line 465 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch to dry (dehumidification) mode.
In dry mode, the controller is assumed to have both heating and cooling disabled, although the system may use its cooling mechanism to achieve drying.
Definition at line 326 of file thermostat_climate.h.
|
protected |
Definition at line 327 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "auto" mode.
Definition at line 364 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "diffuse" position.
Definition at line 382 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "focus" position.
Definition at line 379 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "high" speed.
Definition at line 373 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "low" speed.
Definition at line 367 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "medium" speed.
Definition at line 370 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "middle" position.
Definition at line 376 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch off the fan.
Definition at line 361 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch on the fan.
Definition at line 358 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the fan to "quiet" position.
Definition at line 385 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch to fan-only action/mode.
In fan-only mode, the controller is assumed to have both heating and cooling disabled. The system should activate the fan only.
Definition at line 354 of file thermostat_climate.h.
|
protected |
Definition at line 355 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch to heating action/mode.
A null value for this attribute means that the controller has no heating action For example window blinds, where only cooling (blinds closed) and not-cooling (blinds open) is possible.
Definition at line 334 of file thermostat_climate.h.
|
protected |
Definition at line 336 of file thermostat_climate.h.
|
protected |
Definition at line 435 of file thermostat_climate.h.
|
protected |
Definition at line 305 of file thermostat_climate.h.
|
protected |
Definition at line 436 of file thermostat_climate.h.
|
protected |
The sensor used for getting the current humidity.
Definition at line 246 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch to idle action/off mode.
In these actions/modes, the controller is assumed to have both heating and cooling disabled.
Definition at line 347 of file thermostat_climate.h.
|
protected |
Minimum allowable duration in seconds for action timers.
Definition at line 443 of file thermostat_climate.h.
|
protected |
Definition at line 348 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 471 of file thermostat_climate.h.
|
protected |
The triggr to call when the preset mode changes.
Definition at line 403 of file thermostat_climate.h.
|
protected |
The set of standard preset configurations this thermostat supports (Eg. AWAY, ECO, etc)
Definition at line 460 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 409 of file thermostat_climate.h.
|
protected |
Definition at line 418 of file thermostat_climate.h.
|
protected |
Definition at line 410 of file thermostat_climate.h.
|
protected |
Definition at line 419 of file thermostat_climate.h.
|
protected |
Definition at line 411 of file thermostat_climate.h.
|
protected |
Definition at line 420 of file thermostat_climate.h.
|
protected |
Definition at line 412 of file thermostat_climate.h.
|
protected |
Store previously-known temperatures.
These are used to determine when the temperature change trigger/action needs to be called
Definition at line 425 of file thermostat_climate.h.
|
protected |
Definition at line 427 of file thermostat_climate.h.
|
protected |
Definition at line 426 of file thermostat_climate.h.
|
protected |
The sensor used for getting the current temperature.
Definition at line 244 of file thermostat_climate.h.
|
protected |
Minimum differential required between set points.
Definition at line 430 of file thermostat_climate.h.
|
protected |
setup_complete_ blocks modifying/resetting the temps immediately after boot
Definition at line 311 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 417 of file thermostat_climate.h.
|
protected |
Definition at line 319 of file thermostat_climate.h.
|
protected |
Maximum allowable temperature deltas before engauging supplemental cooling/heating actions.
Definition at line 439 of file thermostat_climate.h.
|
protected |
Definition at line 335 of file thermostat_climate.h.
|
protected |
Definition at line 440 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 252 of file thermostat_climate.h.
|
protected |
Definition at line 254 of file thermostat_climate.h.
|
protected |
Definition at line 255 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 277 of file thermostat_climate.h.
|
protected |
Definition at line 287 of file thermostat_climate.h.
|
protected |
Definition at line 286 of file thermostat_climate.h.
|
protected |
Definition at line 284 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 282 of file thermostat_climate.h.
|
protected |
Definition at line 283 of file thermostat_climate.h.
|
protected |
Definition at line 285 of file thermostat_climate.h.
|
protected |
Definition at line 271 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 270 of file thermostat_climate.h.
|
protected |
Definition at line 288 of file thermostat_climate.h.
|
protected |
Definition at line 256 of file thermostat_climate.h.
|
protected |
Special flag – enables fan_modes to share timer with fan_only climate action.
Definition at line 259 of file thermostat_climate.h.
|
protected |
Special flag – enables fan to be switched based on target_temperature_high.
Definition at line 261 of file thermostat_climate.h.
|
protected |
Special flags – enables fan_only action to be called with cooling/heating actions.
Definition at line 263 of file thermostat_climate.h.
|
protected |
Definition at line 264 of file thermostat_climate.h.
|
protected |
Definition at line 257 of file thermostat_climate.h.
|
protected |
Definition at line 253 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 293 of file thermostat_climate.h.
|
protected |
Definition at line 295 of file thermostat_climate.h.
|
protected |
Definition at line 294 of file thermostat_climate.h.
|
protected |
Definition at line 296 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 301 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the swing mode to "both".
Definition at line 388 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the swing mode to "horizontal".
Definition at line 394 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the swing mode to "off".
Definition at line 391 of file thermostat_climate.h.
|
protected |
The trigger to call when the controller should switch the swing mode to "vertical".
Definition at line 397 of file thermostat_climate.h.
|
protected |
The trigger to call when the target temperature(s) change(es).
Definition at line 400 of file thermostat_climate.h.
|
protected |
|
protected |
Used to start "off" delay timers at boot.
Definition at line 308 of file thermostat_climate.h.