Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.telnet.switch.TelnetSwitch
 

Namespaces

 homeassistant.components.telnet.switch
 

Functions

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

Variables

 homeassistant.components.telnet.switch._LOGGER = logging.getLogger(__name__)
 
int homeassistant.components.telnet.switch.DEFAULT_PORT = 23
 
float homeassistant.components.telnet.switch.DEFAULT_TIMEOUT = 0.2
 
 homeassistant.components.telnet.switch.PLATFORM_SCHEMA
 
 homeassistant.components.telnet.switch.SCAN_INTERVAL = timedelta(seconds=10)
 
 homeassistant.components.telnet.switch.SWITCH_SCHEMA