Private Member Functions | |
| list[str]|None | _determine_preset_modes (self) |
| ClimateEntityFeature | _determine_supported_features (self) |
| list[str]|None | _determine_swing_modes (self) |
Private Attributes | |
| _attr_preset_mode | |
| _attr_preset_modes | |
| _attr_supported_features | |
| _attr_swing_modes | |
| _hvac_modes | |
Static Private Attributes | |
| bool | _enable_turn_on_off_backwards_compatibility = False |
Additional Inherited Members | |
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 | |
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 | |
Define a SmartThings Air Conditioner.
Definition at line 346 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.__init__ | ( | self, | |
| device | |||
| ) |
Init the class.
Definition at line 352 of file climate.py.
|
private |
Return a list of available preset modes.
Definition at line 545 of file climate.py.
|
private |
Definition at line 361 of file climate.py.
|
private |
Return the list of available swing modes.
Definition at line 516 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_set_fan_mode | ( | self, | |
| str | fan_mode | ||
| ) |
Set new target fan mode.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 374 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_set_hvac_mode | ( | self, | |
| HVACMode | hvac_mode | ||
| ) |
Set new target operation mode.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 385 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_set_preset_mode | ( | self, | |
| str | preset_mode | ||
| ) |
Set special modes (currently only windFree is supported).
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 554 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_set_swing_mode | ( | self, | |
| str | swing_mode | ||
| ) |
Set swing mode.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 528 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_set_temperature | ( | self, | |
| **Any | kwargs | ||
| ) |
Set new target temperature.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 410 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_turn_off | ( | self | ) |
Turn device off.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 437 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_turn_on | ( | self | ) |
Turn device on.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 430 of file climate.py.
| None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.async_update | ( | self | ) |
Update the calculated fields of the AC.
Definition at line 444 of file climate.py.
| float | None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.current_temperature | ( | self | ) |
Return the current temperature.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 460 of file climate.py.
| dict[str, Any] homeassistant.components.smartthings.climate.SmartThingsAirConditioner.extra_state_attributes | ( | self | ) |
Return device specific state attributes. Include attributes from the Demand Response Load Control (drlc) and Power Consumption capabilities.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 465 of file climate.py.
| str homeassistant.components.smartthings.climate.SmartThingsAirConditioner.fan_mode | ( | self | ) |
Return the fan setting.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 485 of file climate.py.
| list[str] homeassistant.components.smartthings.climate.SmartThingsAirConditioner.fan_modes | ( | self | ) |
Return the list of available fan modes.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 490 of file climate.py.
| HVACMode | None homeassistant.components.smartthings.climate.SmartThingsAirConditioner.hvac_mode | ( | self | ) |
Return current operation ie. heat, cool, idle.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 495 of file climate.py.
| list[HVACMode] homeassistant.components.smartthings.climate.SmartThingsAirConditioner.hvac_modes | ( | self | ) |
Return the list of available operation modes.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 502 of file climate.py.
| str homeassistant.components.smartthings.climate.SmartThingsAirConditioner.swing_mode | ( | self | ) |
Return the swing setting.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 539 of file climate.py.
| float homeassistant.components.smartthings.climate.SmartThingsAirConditioner.target_temperature | ( | self | ) |
Return the temperature we try to reach.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 507 of file climate.py.
| str homeassistant.components.smartthings.climate.SmartThingsAirConditioner.temperature_unit | ( | self | ) |
Return the unit of measurement.
Reimplemented from homeassistant.components.climate.ClimateEntity.
Definition at line 512 of file climate.py.
|
private |
Definition at line 356 of file climate.py.
|
private |
Definition at line 357 of file climate.py.
|
private |
Definition at line 359 of file climate.py.
|
private |
Definition at line 358 of file climate.py.
|
staticprivate |
Definition at line 350 of file climate.py.
|
private |
Definition at line 355 of file climate.py.