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

Classes

class  SnmpScanner
 

Functions

SnmpScanner|None async_get_scanner (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for fetching WiFi associations through SNMP.

Function Documentation

◆ async_get_scanner()

SnmpScanner | None homeassistant.components.snmp.device_tracker.async_get_scanner ( HomeAssistant  hass,
ConfigType   config 
)
Validate the configuration and return an SNMP scanner.

Definition at line 58 of file device_tracker.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 45 of file device_tracker.py.

◆ PLATFORM_SCHEMA

homeassistant.components.snmp.device_tracker.PLATFORM_SCHEMA
Initial value:
1 = DEVICE_TRACKER_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_BASEOID): cv.string,
4  vol.Required(CONF_HOST): cv.string,
5  vol.Optional(CONF_COMMUNITY, default=DEFAULT_COMMUNITY): cv.string,
6  vol.Inclusive(CONF_AUTH_KEY, "keys"): cv.string,
7  vol.Inclusive(CONF_PRIV_KEY, "keys"): cv.string,
8  }
9 )

Definition at line 47 of file device_tracker.py.