Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hitron_coda.device_tracker Namespace Reference

Classes

class  HitronCODADeviceScanner
 

Functions

HitronCODADeviceScanner|None get_scanner (HomeAssistant _hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string DEFAULT_TYPE = "rogers"
 
 Device = namedtuple("Device", ["mac", "name"])
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for the Hitron CODA-4582U, provided by Rogers.

Function Documentation

◆ get_scanner()

HitronCODADeviceScanner | None homeassistant.components.hitron_coda.device_tracker.get_scanner ( HomeAssistant  _hass,
ConfigType   config 
)
Validate the configuration and return a Hitron CODA-4582U scanner.

Definition at line 36 of file device_tracker.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.hitron_coda.device_tracker._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file device_tracker.py.

◆ DEFAULT_TYPE

string homeassistant.components.hitron_coda.device_tracker.DEFAULT_TYPE = "rogers"

Definition at line 24 of file device_tracker.py.

◆ Device

homeassistant.components.hitron_coda.device_tracker.Device = namedtuple("Device", ["mac", "name"])

Definition at line 45 of file device_tracker.py.

◆ PLATFORM_SCHEMA

homeassistant.components.hitron_coda.device_tracker.PLATFORM_SCHEMA
Initial value:
1 = DEVICE_TRACKER_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Required(CONF_USERNAME): cv.string,
5  vol.Required(CONF_PASSWORD): cv.string,
6  vol.Optional(CONF_TYPE, default=DEFAULT_TYPE): cv.string,
7  }
8 )

Definition at line 26 of file device_tracker.py.