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

Classes

class  TractiveSwitch
 
class  TractiveSwitchEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, TractiveConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Support for Tractive switches.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.tractive.switch.async_setup_entry ( HomeAssistant  hass,
TractiveConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up Tractive switches.

Definition at line 57 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 25 of file switch.py.