Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nmap_tracker Namespace Reference

Namespaces

 config_flow
 
 const
 
 device_tracker
 

Classes

class  NmapDevice
 
class  NmapDeviceScanner
 
class  NmapTrackedDevices
 

Functions

None _async_untrack_devices (HomeAssistant hass, ConfigEntry entry)
 
None _async_update_listener (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
str human_readable_name (str hostname, str vendor, str mac_address)
 
str short_hostname (str hostname)
 
str signal_device_update (mac_address)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 Final
 

Detailed Description

The Nmap Tracker integration.

Function Documentation

◆ _async_untrack_devices()

None homeassistant.components.nmap_tracker._async_untrack_devices ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Remove tracking for devices owned by this config entry.

Definition at line 114 of file __init__.py.

◆ _async_update_listener()

None homeassistant.components.nmap_tracker._async_update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Handle options update.

Definition at line 97 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.nmap_tracker.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Nmap Tracker from a config entry.

Definition at line 86 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.nmap_tracker.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 102 of file __init__.py.

◆ human_readable_name()

str homeassistant.components.nmap_tracker.human_readable_name ( str  hostname,
str  vendor,
str  mac_address 
)
Generate a human readable name.

Definition at line 50 of file __init__.py.

◆ short_hostname()

str homeassistant.components.nmap_tracker.short_hostname ( str  hostname)
Return the first part of the hostname.

Definition at line 45 of file __init__.py.

◆ signal_device_update()

str homeassistant.components.nmap_tracker.signal_device_update (   mac_address)
Signal specific per nmap tracker entry to signal updates in device.

Definition at line 128 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.nmap_tracker._LOGGER = logging.getLogger(__name__)
private

Definition at line 83 of file __init__.py.

◆ Final

homeassistant.components.nmap_tracker.Final

Definition at line 41 of file __init__.py.