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

Classes

class  TPLinkClimateEntity
 

Functions

None async_setup_entry (HomeAssistant hass, TPLinkConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary STATE_TO_ACTION
 

Detailed Description

Support for TP-Link thermostats.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.tplink.climate.async_setup_entry ( HomeAssistant  hass,
TPLinkConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up climate entities.

Definition at line 39 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 36 of file climate.py.

◆ STATE_TO_ACTION

dictionary homeassistant.components.tplink.climate.STATE_TO_ACTION
Initial value:
1 = {
2  ThermostatState.Idle: HVACAction.IDLE,
3  ThermostatState.Heating: HVACAction.HEATING,
4  ThermostatState.Off: HVACAction.OFF,
5 }

Definition at line 29 of file climate.py.