Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tado.climate.TadoClimate Class Reference
Inheritance diagram for homeassistant.components.tado.climate.TadoClimate:
[legend]
Collaboration diagram for homeassistant.components.tado.climate.TadoClimate:
[legend]

Public Member Functions

None __init__ (self, TadoConnector tado, str zone_name, int zone_id, str zone_type, list[HVACMode] supported_hvac_modes, ClimateEntityFeature support_flags, dict[str, str] device_info, float|None heat_min_temp=None, float|None heat_max_temp=None, float|None heat_step=None, float|None cool_min_temp=None, float|None cool_max_temp=None, float|None cool_step=None, list[str]|None supported_fan_modes=None, list[str]|None supported_swing_modes=None)
 
None async_added_to_hass (self)
 
bool available (self)
 
int|None current_humidity (self)
 
float|None current_temperature (self)
 
Mapping[str, Any]|None extra_state_attributes (self)
 
str|None fan_mode (self)
 
HVACAction hvac_action (self)
 
HVACMode hvac_mode (self)
 
float max_temp (self)
 
float min_temp (self)
 
str preset_mode (self)
 
list[strpreset_modes (self)
 
None set_fan_mode (self, str fan_mode)
 
None set_hvac_mode (self, HVACMode hvac_mode)
 
None set_preset_mode (self, str preset_mode)
 
None set_swing_mode (self, str swing_mode)
 
None set_temp_offset (self, float offset)
 
None set_temperature (self, **Any kwargs)
 
def set_timer (self, float temperature, int|None time_period=None, str|None requested_overlay=None)
 
str|None swing_mode (self)
 
float|None target_temperature (self)
 
float|None target_temperature_step (self)
 
- Public Member Functions inherited from homeassistant.components.tado.entity.TadoZoneEntity
None __init__ (self, str zone_name, int home_id, int zone_id)
 
- Public Member Functions inherited from homeassistant.helpers.entity.Entity
None __init_subclass__ (cls, **Any kwargs)
 
str __repr__ (self)
 
None add_to_platform_abort (self)
 
None add_to_platform_finish (self)
 
bool assumed_state (self)
 
None async_device_update (self, bool warning=True)
 
None async_internal_added_to_hass (self)
 
None async_internal_will_remove_from_hass (self)
 
None async_on_remove (self, CALLBACK_TYPE func)
 
None async_registry_entry_updated (self)
 
None async_remove (self, *bool force_remove=False)
 
None async_removed_from_registry (self)
 
None async_schedule_update_ha_state (self, bool force_refresh=False)
 
None async_set_context (self, Context context)
 
None async_update_ha_state (self, bool force_refresh=False)
 
None async_will_remove_from_hass (self)
 
None async_write_ha_state (self)
 
str|None attribution (self)
 
str|None device_class (self)
 
DeviceInfo|None device_info (self)
 
bool enabled (self)
 
EntityCategory|None entity_category (self)
 
str|None entity_picture (self)
 
bool entity_registry_enabled_default (self)
 
bool entity_registry_visible_default (self)
 
bool force_update (self)
 
HassJobType get_hassjob_type (self, str function_name)
 
er.EntityOptionsType|None get_initial_entity_options (self)
 
bool has_entity_name (self)
 
str|None icon (self)
 
str|UndefinedType|None name (self)
 
None schedule_update_ha_state (self, bool force_refresh=False)
 
bool should_poll (self)
 
str|None suggested_object_id (self)
 
str|None translation_key (self)
 
Mapping[str, strtranslation_placeholders (self)
 
str|None unique_id (self)
 
str|None unit_of_measurement (self)
 
bool use_device_name (self)
 
- Public Member Functions inherited from homeassistant.helpers.entity.CachedProperties
None __init__ (cls, str name, tuple[type,...] bases, dict[Any, Any] namespace, **Any kwargs)
 
Any __new__ (mcs, str name, tuple[type,...] bases, dict[Any, Any] namespace, set[str]|None cached_properties=None, **Any kwargs)
 
- Public Member Functions inherited from homeassistant.components.climate.ClimateEntity
Any __getattribute__ (self, str name)
 
None add_to_platform_start (self, HomeAssistant hass, EntityPlatform platform, asyncio.Semaphore|None parallel_updates)
 
None async_handle_set_fan_mode_service (self, str fan_mode)
 
None async_handle_set_hvac_mode_service (self, HVACMode hvac_mode)
 
None async_handle_set_preset_mode_service (self, str preset_mode)
 
None async_handle_set_swing_horizontal_mode_service (self, str swing_horizontal_mode)
 
None async_handle_set_swing_mode_service (self, str swing_mode)
 
None async_set_fan_mode (self, str fan_mode)
 
None async_set_humidity (self, int humidity)
 
None async_set_hvac_mode (self, HVACMode hvac_mode)
 
None async_set_preset_mode (self, str preset_mode)
 
None async_set_swing_horizontal_mode (self, str swing_horizontal_mode)
 
None async_set_swing_mode (self, str swing_mode)
 
None async_set_temperature (self, **Any kwargs)
 
None async_toggle (self)
 
None async_turn_aux_heat_off (self)
 
None async_turn_aux_heat_on (self)
 
None async_turn_off (self)
 
None async_turn_on (self)
 
dict[str, Any]|None capability_attributes (self)
 
list[str]|None fan_modes (self)
 
list[HVACMode] hvac_modes (self)
 
bool|None is_aux_heat (self)
 
float max_humidity (self)
 
float min_humidity (self)
 
float precision (self)
 
None set_humidity (self, int humidity)
 
None set_swing_horizontal_mode (self, str swing_horizontal_mode)
 
str|None state (self)
 
dict[str, Any] state_attributes (self)
 
ClimateEntityFeature supported_features (self)
 
str|None swing_horizontal_mode (self)
 
list[str]|None swing_horizontal_modes (self)
 
list[str]|None swing_modes (self)
 
float|None target_humidity (self)
 
float|None target_temperature_high (self)
 
float|None target_temperature_low (self)
 
str temperature_unit (self)
 
None toggle (self)
 
None turn_aux_heat_off (self)
 
None turn_aux_heat_on (self)
 
None turn_off (self)
 
None turn_on (self)
 

Public Attributes

 zone_id
 
 zone_type
 
- Public Attributes inherited from homeassistant.components.tado.entity.TadoZoneEntity
 zone_id
 
 zone_name
 
- Public Attributes inherited from homeassistant.helpers.entity.Entity
 device_entry
 
 entity_id
 
 hass
 
 parallel_updates
 
 platform
 
 registry_entry
 
- Public Attributes inherited from homeassistant.components.climate.ClimateEntity
 hvac_mode
 

Private Member Functions

None _async_update_home_callback (self)
 
None _async_update_home_data (self)
 
None _async_update_zone_callback (self)
 
None _async_update_zone_data (self)
 
def _control_hvac (self, str|None hvac_mode=None, float|None target_temp=None, str|None fan_mode=None, str|None swing_mode=None, int|None duration=None, str|None overlay_mode=None, str|None vertical_swing=None, str|None horizontal_swing=None)
 
bool _is_current_setting_supported_by_current_hvac_mode (self, str setting, str|None current_state)
 
bool _is_valid_setting_for_hvac_mode (self, str setting)
 
None _normalize_target_temp_for_hvac_mode (self)
 

Private Attributes

 _ac_device
 
 _attr_fan_modes
 
 _attr_hvac_modes
 
 _attr_supported_features
 
 _attr_swing_modes
 
 _attr_unique_id
 
 _cool_max_temp
 
 _cool_min_temp
 
 _cool_step
 
 _cur_humidity
 
 _cur_temp
 
 _current_tado_capabilities
 
 _current_tado_fan_level
 
 _current_tado_fan_speed
 
 _current_tado_horizontal_swing
 
 _current_tado_hvac_action
 
 _current_tado_hvac_mode
 
 _current_tado_swing_mode
 
 _current_tado_vertical_swing
 
 _device_id
 
 _device_info
 
 _heat_max_temp
 
 _heat_min_temp
 
 _heat_step
 
 _tado
 
 _tado_geofence_data
 
 _tado_zone_data
 
 _target_temp
 

Static Private Attributes

 _attr_name = None
 
 _attr_temperature_unit = UnitOfTemperature.CELSIUS
 
 _attr_translation_key = DOMAIN
 
bool _available = False
 
bool _enable_turn_on_off_backwards_compatibility = False
 

Additional Inherited Members

- Static Public Attributes inherited from homeassistant.helpers.entity.Entity
 bool
 
 EntityPlatform
 
 HomeAssistant
 
 None
 
 StateInfo
 
 StateType
 
 str
 
- Static Public Attributes inherited from homeassistant.components.climate.ClimateEntity
 bool
 
 ClimateEntityFeature
 
 float
 
 None
 

Detailed Description

Representation of a Tado climate entity.

Definition at line 265 of file climate.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.tado.climate.TadoClimate.__init__ (   self,
TadoConnector  tado,
str  zone_name,
int  zone_id,
str  zone_type,
list[HVACMode]  supported_hvac_modes,
ClimateEntityFeature  support_flags,
dict[str, str device_info,
float | None   heat_min_temp = None,
float | None   heat_max_temp = None,
float | None   heat_step = None,
float | None   cool_min_temp = None,
float | None   cool_max_temp = None,
float | None   cool_step = None,
list[str] | None   supported_fan_modes = None,
list[str] | None   supported_swing_modes = None 
)
Initialize of Tado climate entity.

Definition at line 274 of file climate.py.

Member Function Documentation

◆ _async_update_home_callback()

None homeassistant.components.tado.climate.TadoClimate._async_update_home_callback (   self)
private
Load tado data and update state.

Definition at line 647 of file climate.py.

◆ _async_update_home_data()

None homeassistant.components.tado.climate.TadoClimate._async_update_home_data (   self)
private
Load tado geofencing data into zone.

Definition at line 642 of file climate.py.

◆ _async_update_zone_callback()

None homeassistant.components.tado.climate.TadoClimate._async_update_zone_callback (   self)
private
Load tado data and update state.

Definition at line 636 of file climate.py.

◆ _async_update_zone_data()

None homeassistant.components.tado.climate.TadoClimate._async_update_zone_data (   self)
private
Load tado data into zone.

Definition at line 602 of file climate.py.

◆ _control_hvac()

def homeassistant.components.tado.climate.TadoClimate._control_hvac (   self,
str | None   hvac_mode = None,
float | None   target_temp = None,
str | None   fan_mode = None,
str | None   swing_mode = None,
int | None   duration = None,
str | None   overlay_mode = None,
str | None   vertical_swing = None,
str | None   horizontal_swing = None 
)
private
Send new target temperature to Tado.

Definition at line 669 of file climate.py.

◆ _is_current_setting_supported_by_current_hvac_mode()

bool homeassistant.components.tado.climate.TadoClimate._is_current_setting_supported_by_current_hvac_mode (   self,
str  setting,
str | None   current_state 
)
private

Definition at line 811 of file climate.py.

◆ _is_valid_setting_for_hvac_mode()

bool homeassistant.components.tado.climate.TadoClimate._is_valid_setting_for_hvac_mode (   self,
str  setting 
)
private

Definition at line 803 of file climate.py.

◆ _normalize_target_temp_for_hvac_mode()

None homeassistant.components.tado.climate.TadoClimate._normalize_target_temp_for_hvac_mode (   self)
private

Definition at line 652 of file climate.py.

◆ async_added_to_hass()

None homeassistant.components.tado.climate.TadoClimate.async_added_to_hass (   self)
Register for sensor updates.

Reimplemented from homeassistant.helpers.entity.Entity.

Definition at line 342 of file climate.py.

◆ available()

bool homeassistant.components.tado.climate.TadoClimate.available (   self)
Return if the device is available.

Reimplemented from homeassistant.helpers.entity.Entity.

Definition at line 500 of file climate.py.

◆ current_humidity()

int | None homeassistant.components.tado.climate.TadoClimate.current_humidity (   self)
Return the current humidity.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 363 of file climate.py.

◆ current_temperature()

float | None homeassistant.components.tado.climate.TadoClimate.current_temperature (   self)
Return the sensor temperature.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 368 of file climate.py.

◆ extra_state_attributes()

Mapping[str, Any] | None homeassistant.components.tado.climate.TadoClimate.extra_state_attributes (   self)
Return temperature offset.

Reimplemented from homeassistant.helpers.entity.Entity.

Definition at line 552 of file climate.py.

◆ fan_mode()

str | None homeassistant.components.tado.climate.TadoClimate.fan_mode (   self)
Return the fan setting.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 391 of file climate.py.

◆ hvac_action()

HVACAction homeassistant.components.tado.climate.TadoClimate.hvac_action (   self)
Return the current running hvac operation if supported.

Need to be one of CURRENT_HVAC_*.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 381 of file climate.py.

◆ hvac_mode()

HVACMode homeassistant.components.tado.climate.TadoClimate.hvac_mode (   self)
Return hvac operation ie. heat, cool mode.

Need to be one of HVAC_MODE_*.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 373 of file climate.py.

◆ max_temp()

float homeassistant.components.tado.climate.TadoClimate.max_temp (   self)
Return the maximum temperature.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 518 of file climate.py.

◆ min_temp()

float homeassistant.components.tado.climate.TadoClimate.min_temp (   self)
Return the minimum temperature.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 505 of file climate.py.

◆ preset_mode()

str homeassistant.components.tado.climate.TadoClimate.preset_mode (   self)
Return the current preset mode (home, away or auto).

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 413 of file climate.py.

◆ preset_modes()

list[str] homeassistant.components.tado.climate.TadoClimate.preset_modes (   self)
Return a list of available preset modes.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 427 of file climate.py.

◆ set_fan_mode()

None homeassistant.components.tado.climate.TadoClimate.set_fan_mode (   self,
str  fan_mode 
)
Turn fan on/off.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 405 of file climate.py.

◆ set_hvac_mode()

None homeassistant.components.tado.climate.TadoClimate.set_hvac_mode (   self,
HVACMode  hvac_mode 
)
Set new target hvac mode.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 495 of file climate.py.

◆ set_preset_mode()

None homeassistant.components.tado.climate.TadoClimate.set_preset_mode (   self,
str  preset_mode 
)
Set new preset mode.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 433 of file climate.py.

◆ set_swing_mode()

None homeassistant.components.tado.climate.TadoClimate.set_swing_mode (   self,
str  swing_mode 
)
Set swing modes for the device.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 563 of file climate.py.

◆ set_temp_offset()

None homeassistant.components.tado.climate.TadoClimate.set_temp_offset (   self,
float  offset 
)
Set offset on the entity.

Definition at line 468 of file climate.py.

◆ set_temperature()

None homeassistant.components.tado.climate.TadoClimate.set_temperature (   self,
**Any  kwargs 
)
Set new target temperature.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 479 of file climate.py.

◆ set_timer()

def homeassistant.components.tado.climate.TadoClimate.set_timer (   self,
float  temperature,
int | None   time_period = None,
str | None   requested_overlay = None 
)
Set the timer on the entity, and temperature if supported.

Definition at line 453 of file climate.py.

◆ swing_mode()

str | None homeassistant.components.tado.climate.TadoClimate.swing_mode (   self)
Active swing mode for the device.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 531 of file climate.py.

◆ target_temperature()

float | None homeassistant.components.tado.climate.TadoClimate.target_temperature (   self)
Return the temperature we try to reach.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 445 of file climate.py.

◆ target_temperature_step()

float | None homeassistant.components.tado.climate.TadoClimate.target_temperature_step (   self)
Return the supported step of target temperature.

Reimplemented from homeassistant.components.climate.ClimateEntity.

Definition at line 438 of file climate.py.

Member Data Documentation

◆ _ac_device

homeassistant.components.tado.climate.TadoClimate._ac_device
private

Definition at line 304 of file climate.py.

◆ _attr_fan_modes

homeassistant.components.tado.climate.TadoClimate._attr_fan_modes
private

Definition at line 306 of file climate.py.

◆ _attr_hvac_modes

homeassistant.components.tado.climate.TadoClimate._attr_hvac_modes
private

Definition at line 305 of file climate.py.

◆ _attr_name

homeassistant.components.tado.climate.TadoClimate._attr_name = None
staticprivate

Definition at line 269 of file climate.py.

◆ _attr_supported_features

homeassistant.components.tado.climate.TadoClimate._attr_supported_features
private

Definition at line 307 of file climate.py.

◆ _attr_swing_modes

homeassistant.components.tado.climate.TadoClimate._attr_swing_modes
private

Definition at line 311 of file climate.py.

◆ _attr_temperature_unit

homeassistant.components.tado.climate.TadoClimate._attr_temperature_unit = UnitOfTemperature.CELSIUS
staticprivate

Definition at line 268 of file climate.py.

◆ _attr_translation_key

homeassistant.components.tado.climate.TadoClimate._attr_translation_key = DOMAIN
staticprivate

Definition at line 270 of file climate.py.

◆ _attr_unique_id

homeassistant.components.tado.climate.TadoClimate._attr_unique_id
private

Definition at line 299 of file climate.py.

◆ _available

bool homeassistant.components.tado.climate.TadoClimate._available = False
staticprivate

Definition at line 271 of file climate.py.

◆ _cool_max_temp

homeassistant.components.tado.climate.TadoClimate._cool_max_temp
private

Definition at line 318 of file climate.py.

◆ _cool_min_temp

homeassistant.components.tado.climate.TadoClimate._cool_min_temp
private

Definition at line 317 of file climate.py.

◆ _cool_step

homeassistant.components.tado.climate.TadoClimate._cool_step
private

Definition at line 319 of file climate.py.

◆ _cur_humidity

homeassistant.components.tado.climate.TadoClimate._cur_humidity
private

Definition at line 310 of file climate.py.

◆ _cur_temp

homeassistant.components.tado.climate.TadoClimate._cur_temp
private

Definition at line 309 of file climate.py.

◆ _current_tado_capabilities

homeassistant.components.tado.climate.TadoClimate._current_tado_capabilities
private

Definition at line 332 of file climate.py.

◆ _current_tado_fan_level

homeassistant.components.tado.climate.TadoClimate._current_tado_fan_level
private

Definition at line 324 of file climate.py.

◆ _current_tado_fan_speed

homeassistant.components.tado.climate.TadoClimate._current_tado_fan_speed
private

Definition at line 323 of file climate.py.

◆ _current_tado_horizontal_swing

homeassistant.components.tado.climate.TadoClimate._current_tado_horizontal_swing
private

Definition at line 329 of file climate.py.

◆ _current_tado_hvac_action

homeassistant.components.tado.climate.TadoClimate._current_tado_hvac_action
private

Definition at line 326 of file climate.py.

◆ _current_tado_hvac_mode

homeassistant.components.tado.climate.TadoClimate._current_tado_hvac_mode
private

Definition at line 325 of file climate.py.

◆ _current_tado_swing_mode

homeassistant.components.tado.climate.TadoClimate._current_tado_swing_mode
private

Definition at line 327 of file climate.py.

◆ _current_tado_vertical_swing

homeassistant.components.tado.climate.TadoClimate._current_tado_vertical_swing
private

Definition at line 328 of file climate.py.

◆ _device_id

homeassistant.components.tado.climate.TadoClimate._device_id
private

Definition at line 302 of file climate.py.

◆ _device_info

homeassistant.components.tado.climate.TadoClimate._device_info
private

Definition at line 301 of file climate.py.

◆ _enable_turn_on_off_backwards_compatibility

bool homeassistant.components.tado.climate.TadoClimate._enable_turn_on_off_backwards_compatibility = False
staticprivate

Definition at line 272 of file climate.py.

◆ _heat_max_temp

homeassistant.components.tado.climate.TadoClimate._heat_max_temp
private

Definition at line 314 of file climate.py.

◆ _heat_min_temp

homeassistant.components.tado.climate.TadoClimate._heat_min_temp
private

Definition at line 313 of file climate.py.

◆ _heat_step

homeassistant.components.tado.climate.TadoClimate._heat_step
private

Definition at line 315 of file climate.py.

◆ _tado

homeassistant.components.tado.climate.TadoClimate._tado
private

Definition at line 293 of file climate.py.

◆ _tado_geofence_data

homeassistant.components.tado.climate.TadoClimate._tado_geofence_data
private

Definition at line 644 of file climate.py.

◆ _tado_zone_data

homeassistant.components.tado.climate.TadoClimate._tado_zone_data
private

Definition at line 604 of file climate.py.

◆ _target_temp

homeassistant.components.tado.climate.TadoClimate._target_temp
private

Definition at line 663 of file climate.py.

◆ zone_id

homeassistant.components.tado.climate.TadoClimate.zone_id

Definition at line 296 of file climate.py.

◆ zone_type

homeassistant.components.tado.climate.TadoClimate.zone_type

Definition at line 297 of file climate.py.


The documentation for this class was generated from the following file: