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

Classes

class  RfxtrxSwitch
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
bool supported (rfxtrxmod.RFXtrxEvent event)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string DATA_SWITCH = f"{DOMAIN}_switch"
 

Detailed Description

Support for RFXtrx switches.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.rfxtrx.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up config entry.

Definition at line 42 of file switch.py.

◆ supported()

bool homeassistant.components.rfxtrx.switch.supported ( rfxtrxmod.RFXtrxEvent  event)
Return whether an event supports switch.

Definition at line 32 of file switch.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.rfxtrx.switch._LOGGER = logging.getLogger(__name__)
private

Definition at line 29 of file switch.py.

◆ DATA_SWITCH

string homeassistant.components.rfxtrx.switch.DATA_SWITCH = f"{DOMAIN}_switch"

Definition at line 27 of file switch.py.