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

Classes

class  Flexit
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CALL_TYPE_WRITE_REGISTER = "write_register"
 
string CONF_HUB = "hub"
 
 PLATFORM_SCHEMA
 

Detailed Description

Platform for Flexit AC units with CI66 Modbus adapter.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.flexit.climate.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Flexit Platform.

Definition at line 50 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 47 of file climate.py.

◆ CALL_TYPE_WRITE_REGISTER

string homeassistant.components.flexit.climate.CALL_TYPE_WRITE_REGISTER = "write_register"

Definition at line 36 of file climate.py.

◆ CONF_HUB

string homeassistant.components.flexit.climate.CONF_HUB = "hub"

Definition at line 37 of file climate.py.

◆ PLATFORM_SCHEMA

homeassistant.components.flexit.climate.PLATFORM_SCHEMA
Initial value:
1 = CLIMATE_PLATFORM_SCHEMA.extend(
2  {
3  vol.Optional(CONF_HUB, default=DEFAULT_HUB): cv.string,
4  vol.Required(CONF_SLAVE): vol.All(int, vol.Range(min=0, max=32)),
5  vol.Optional(CONF_NAME, default=DEVICE_DEFAULT_NAME): cv.string,
6  }
7 )

Definition at line 39 of file climate.py.