Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.pencom.switch.PencomRelay
 

Namespaces

 homeassistant.components.pencom.switch
 

Functions

None homeassistant.components.pencom.switch.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.pencom.switch._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.pencom.switch.CONF_ADDR = "addr"
 
string homeassistant.components.pencom.switch.CONF_BOARD = "board"
 
string homeassistant.components.pencom.switch.CONF_BOARDS = "boards"
 
string homeassistant.components.pencom.switch.CONF_RELAYS = "relays"
 
 homeassistant.components.pencom.switch.PLATFORM_SCHEMA
 
 homeassistant.components.pencom.switch.RELAY_SCHEMA