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

Classes

class  HeatmiserV3Thermostat
 

Functions

None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_THERMOSTATS = "tstats"
 
 PLATFORM_SCHEMA
 
 TSTATS_SCHEMA
 

Detailed Description

Support for the PRT Heatmiser thermostats using the V3 protocol.

Function Documentation

◆ setup_platform()

None homeassistant.components.heatmiser.climate.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the heatmiser thermostat.

Definition at line 50 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 30 of file climate.py.

◆ CONF_THERMOSTATS

string homeassistant.components.heatmiser.climate.CONF_THERMOSTATS = "tstats"

Definition at line 32 of file climate.py.

◆ PLATFORM_SCHEMA

homeassistant.components.heatmiser.climate.PLATFORM_SCHEMA
Initial value:
1 = CLIMATE_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Required(CONF_PORT): cv.string,
5  vol.Optional(CONF_THERMOSTATS, default=[]): TSTATS_SCHEMA,
6  }
7 )

Definition at line 41 of file climate.py.

◆ TSTATS_SCHEMA

homeassistant.components.heatmiser.climate.TSTATS_SCHEMA
Initial value:
1 = vol.Schema(
2  vol.All(
3  cv.ensure_list,
4  [{vol.Required(CONF_ID): cv.positive_int, vol.Required(CONF_NAME): cv.string}],
5  )
6 )

Definition at line 34 of file climate.py.