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

Classes

class  HiveClimateEntity
 

Functions

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

Variables

 _LOGGER = logging.getLogger()
 
dictionary HASS_TO_HIVE_STATE
 
dictionary HIVE_TO_HASS_HVAC_ACTION
 
dictionary HIVE_TO_HASS_STATE
 
int PARALLEL_UPDATES = 0
 
 SCAN_INTERVAL = timedelta(seconds=15)
 
dictionary TEMP_UNIT
 

Detailed Description

Support for the Hive climate devices.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.hive.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up Hive thermostat based on a config entry.

Definition at line 60 of file climate.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.hive.climate._LOGGER = logging.getLogger()
private

Definition at line 57 of file climate.py.

◆ HASS_TO_HIVE_STATE

dictionary homeassistant.components.hive.climate.HASS_TO_HIVE_STATE
Initial value:
1 = {
2  HVACMode.AUTO: "SCHEDULE",
3  HVACMode.HEAT: "MANUAL",
4  HVACMode.OFF: "OFF",
5 }

Definition at line 39 of file climate.py.

◆ HIVE_TO_HASS_HVAC_ACTION

dictionary homeassistant.components.hive.climate.HIVE_TO_HASS_HVAC_ACTION
Initial value:
1 = {
2  "UNKNOWN": HVACAction.OFF,
3  False: HVACAction.IDLE,
4  True: HVACAction.HEATING,
5 }

Definition at line 45 of file climate.py.

◆ HIVE_TO_HASS_STATE

dictionary homeassistant.components.hive.climate.HIVE_TO_HASS_STATE
Initial value:
1 = {
2  "SCHEDULE": HVACMode.AUTO,
3  "MANUAL": HVACMode.HEAT,
4  "OFF": HVACMode.OFF,
5 }

Definition at line 33 of file climate.py.

◆ PARALLEL_UPDATES

int homeassistant.components.hive.climate.PARALLEL_UPDATES = 0

Definition at line 55 of file climate.py.

◆ SCAN_INTERVAL

homeassistant.components.hive.climate.SCAN_INTERVAL = timedelta(seconds=15)

Definition at line 56 of file climate.py.

◆ TEMP_UNIT

dictionary homeassistant.components.hive.climate.TEMP_UNIT
Initial value:
1 = {
2  "C": UnitOfTemperature.CELSIUS,
3  "F": UnitOfTemperature.FAHRENHEIT,
4 }

Definition at line 51 of file climate.py.