Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.smarttub.climate Namespace Reference

Classes

class  SmartTubThermostat
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

dictionary HEAT_MODES = {v: k for k, v in PRESET_MODES.items()}
 
dictionary HVAC_ACTIONS
 
string PRESET_DAY = "day"
 
dictionary PRESET_MODES
 
string PRESET_READY = "ready"
 

Detailed Description

Platform for climate integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.smarttub.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up climate entity for the thermostat in the tub.

Definition at line 44 of file climate.py.

Variable Documentation

◆ HEAT_MODES

dictionary homeassistant.components.smarttub.climate.HEAT_MODES = {v: k for k, v in PRESET_MODES.items()}

Definition at line 36 of file climate.py.

◆ HVAC_ACTIONS

dictionary homeassistant.components.smarttub.climate.HVAC_ACTIONS
Initial value:
1 = {
2  "OFF": HVACAction.IDLE,
3  "ON": HVACAction.HEATING,
4 }

Definition at line 38 of file climate.py.

◆ PRESET_DAY

string homeassistant.components.smarttub.climate.PRESET_DAY = "day"

Definition at line 26 of file climate.py.

◆ PRESET_MODES

dictionary homeassistant.components.smarttub.climate.PRESET_MODES
Initial value:
1 = {
2  Spa.HeatMode.AUTO: PRESET_NONE,
3  Spa.HeatMode.ECONOMY: PRESET_ECO,
4  Spa.HeatMode.DAY: PRESET_DAY,
5  Spa.HeatMode.READY: PRESET_READY,
6 }

Definition at line 29 of file climate.py.

◆ PRESET_READY

string homeassistant.components.smarttub.climate.PRESET_READY = "ready"

Definition at line 27 of file climate.py.