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

Classes

class  TomatoDeviceScanner
 

Functions

TomatoDeviceScanner get_scanner (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_HTTP_ID = "http_id"
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Tomato routers.

Function Documentation

◆ get_scanner()

TomatoDeviceScanner homeassistant.components.tomato.device_tracker.get_scanner ( HomeAssistant  hass,
ConfigType  config 
)
Validate the configuration and returns a Tomato scanner.

Definition at line 47 of file device_tracker.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 32 of file device_tracker.py.

◆ CONF_HTTP_ID

string homeassistant.components.tomato.device_tracker.CONF_HTTP_ID = "http_id"

Definition at line 30 of file device_tracker.py.

◆ PLATFORM_SCHEMA

homeassistant.components.tomato.device_tracker.PLATFORM_SCHEMA
Initial value:
1 = DEVICE_TRACKER_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Optional(CONF_PORT): cv.port,
5  vol.Optional(CONF_SSL, default=False): cv.boolean,
6  vol.Optional(CONF_VERIFY_SSL, default=True): vol.Any(cv.boolean, cv.isfile),
7  vol.Required(CONF_PASSWORD): cv.string,
8  vol.Required(CONF_USERNAME): cv.string,
9  vol.Required(CONF_HTTP_ID): cv.string,
10  }
11 )

Definition at line 34 of file device_tracker.py.