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

Classes

class  HiveSwitch
 

Functions

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

Variables

int PARALLEL_UPDATES = 0
 
 SCAN_INTERVAL = timedelta(seconds=15)
 

Detailed Description

Support for the Hive switches.

Function Documentation

◆ async_setup_entry()

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

Definition at line 35 of file switch.py.

Variable Documentation

◆ PARALLEL_UPDATES

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

Definition at line 20 of file switch.py.

◆ SCAN_INTERVAL

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

Definition at line 21 of file switch.py.