Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.zerproc.light Namespace Reference

Classes

class  ZerprocLight
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
list[ZerprocLightdiscover_entities (HomeAssistant hass)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DISCOVERY_INTERVAL = timedelta(seconds=60)
 

Detailed Description

Zerproc light platform.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.zerproc.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Zerproc light devices.

Definition at line 51 of file light.py.

◆ discover_entities()

list[ZerprocLight] homeassistant.components.zerproc.light.discover_entities ( HomeAssistant  hass)
Attempt to discover new lights.

Definition at line 32 of file light.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.zerproc.light._LOGGER = logging.getLogger(__name__)
private

Definition at line 27 of file light.py.

◆ DISCOVERY_INTERVAL

homeassistant.components.zerproc.light.DISCOVERY_INTERVAL = timedelta(seconds=60)

Definition at line 29 of file light.py.