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

Classes

class  DimmableRflinkLight
 
class  HybridRflinkLight
 
class  RflinkLight
 
class  ToggleRflinkLight
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 
def devices_from_config (domain_config)
 
def entity_class_for_type (entity_type)
 
def entity_type_for_device_id (device_id)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int PARALLEL_UPDATES = 0
 
 PLATFORM_SCHEMA
 
string TYPE_DIMMABLE = "dimmable"
 
string TYPE_HYBRID = "hybrid"
 
string TYPE_SWITCHABLE = "switchable"
 
string TYPE_TOGGLE = "toggle"
 

Detailed Description

Support for Rflink lights.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.rflink.light.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Rflink light platform.

Definition at line 153 of file light.py.

◆ devices_from_config()

def homeassistant.components.rflink.light.devices_from_config (   domain_config)
Parse configuration and add Rflink light devices.

Definition at line 118 of file light.py.

◆ entity_class_for_type()

def homeassistant.components.rflink.light.entity_class_for_type (   entity_type)
Translate entity type to entity class.

Async friendly.

Definition at line 96 of file light.py.

◆ entity_type_for_device_id()

def homeassistant.components.rflink.light.entity_type_for_device_id (   device_id)
Return entity class for protocol of a given device_id.

Async friendly.

Definition at line 82 of file light.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 40 of file light.py.

◆ PARALLEL_UPDATES

int homeassistant.components.rflink.light.PARALLEL_UPDATES = 0

Definition at line 42 of file light.py.

◆ PLATFORM_SCHEMA

homeassistant.components.rflink.light.PLATFORM_SCHEMA

Definition at line 49 of file light.py.

◆ TYPE_DIMMABLE

string homeassistant.components.rflink.light.TYPE_DIMMABLE = "dimmable"

Definition at line 44 of file light.py.

◆ TYPE_HYBRID

string homeassistant.components.rflink.light.TYPE_HYBRID = "hybrid"

Definition at line 46 of file light.py.

◆ TYPE_SWITCHABLE

string homeassistant.components.rflink.light.TYPE_SWITCHABLE = "switchable"

Definition at line 45 of file light.py.

◆ TYPE_TOGGLE

string homeassistant.components.rflink.light.TYPE_TOGGLE = "toggle"

Definition at line 47 of file light.py.