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

Classes

class  TfiacClimate
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CURR_TEMP = "current_temp"
 
string FAN_MODE = "fan_mode"
 
dictionary HVAC_MAP
 
dictionary HVAC_MAP_REV = {v: k for k, v in HVAC_MAP.items()}
 
int MAX_TEMP = 88
 
int MIN_TEMP = 61
 
string ON_MODE = "is_on"
 
string OPERATION_MODE = "operation"
 
 PLATFORM_SCHEMA = CLIMATE_PLATFORM_SCHEMA.extend({vol.Required(CONF_HOST): cv.string})
 
 SCAN_INTERVAL = timedelta(seconds=60)
 
list SUPPORT_FAN = [FAN_AUTO, FAN_HIGH, FAN_MEDIUM, FAN_LOW]
 
list SUPPORT_SWING = [SWING_OFF, SWING_HORIZONTAL, SWING_VERTICAL, SWING_BOTH]
 
string SWING_MODE = "swing_mode"
 
string TARGET_TEMP = "target_temp"
 

Detailed Description

Climate platform that offers a climate device for the TFIAC protocol.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.tfiac.climate.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the TFIAC climate device.

Definition at line 64 of file climate.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.tfiac.climate._LOGGER = logging.getLogger(__name__)
private

Definition at line 37 of file climate.py.

◆ CURR_TEMP

string homeassistant.components.tfiac.climate.CURR_TEMP = "current_temp"

Definition at line 56 of file climate.py.

◆ FAN_MODE

string homeassistant.components.tfiac.climate.FAN_MODE = "fan_mode"

Definition at line 59 of file climate.py.

◆ HVAC_MAP

dictionary homeassistant.components.tfiac.climate.HVAC_MAP
Initial value:
1 = {
2  HVACMode.HEAT: "heat",
3  HVACMode.AUTO: "selfFeel",
4  HVACMode.DRY: "dehumi",
5  HVACMode.FAN_ONLY: "fan",
6  HVACMode.COOL: "cool",
7  HVACMode.OFF: "off",
8 }

Definition at line 42 of file climate.py.

◆ HVAC_MAP_REV

dictionary homeassistant.components.tfiac.climate.HVAC_MAP_REV = {v: k for k, v in HVAC_MAP.items()}

Definition at line 51 of file climate.py.

◆ MAX_TEMP

int homeassistant.components.tfiac.climate.MAX_TEMP = 88

Definition at line 40 of file climate.py.

◆ MIN_TEMP

int homeassistant.components.tfiac.climate.MIN_TEMP = 61

Definition at line 39 of file climate.py.

◆ ON_MODE

string homeassistant.components.tfiac.climate.ON_MODE = "is_on"

Definition at line 61 of file climate.py.

◆ OPERATION_MODE

string homeassistant.components.tfiac.climate.OPERATION_MODE = "operation"

Definition at line 58 of file climate.py.

◆ PLATFORM_SCHEMA

homeassistant.components.tfiac.climate.PLATFORM_SCHEMA = CLIMATE_PLATFORM_SCHEMA.extend({vol.Required(CONF_HOST): cv.string})

Definition at line 35 of file climate.py.

◆ SCAN_INTERVAL

homeassistant.components.tfiac.climate.SCAN_INTERVAL = timedelta(seconds=60)

Definition at line 33 of file climate.py.

◆ SUPPORT_FAN

list homeassistant.components.tfiac.climate.SUPPORT_FAN = [FAN_AUTO, FAN_HIGH, FAN_MEDIUM, FAN_LOW]

Definition at line 53 of file climate.py.

◆ SUPPORT_SWING

list homeassistant.components.tfiac.climate.SUPPORT_SWING = [SWING_OFF, SWING_HORIZONTAL, SWING_VERTICAL, SWING_BOTH]

Definition at line 54 of file climate.py.

◆ SWING_MODE

string homeassistant.components.tfiac.climate.SWING_MODE = "swing_mode"

Definition at line 60 of file climate.py.

◆ TARGET_TEMP

string homeassistant.components.tfiac.climate.TARGET_TEMP = "target_temp"

Definition at line 57 of file climate.py.