Classes | |
| class | NmapTrackerConfigFlow |
| class | OptionsFlowHandler |
Functions | |
| vol.Schema | _async_build_schema_with_user_input (HomeAssistant hass, dict[str, Any] user_input, bool include_options) |
| list[str]|None | _normalize_ips_and_network (str hosts_str) |
| str | async_get_network (HomeAssistant hass) |
| dict[str, str] | normalize_input (dict[str, Any] user_input) |
Variables | |
| int | DEFAULT_NETWORK_PREFIX = 24 |
| int | MAX_CONSIDER_HOME = MAX_SCAN_INTERVAL * 6 |
| int | MAX_SCAN_INTERVAL = 3600 |
Config flow for Nmap Tracker integration.
|
private |
Definition at line 107 of file config_flow.py.
|
private |
Check if a list of hosts are all ips or ip networks.
Definition at line 55 of file config_flow.py.
| str homeassistant.components.nmap_tracker.config_flow.async_get_network | ( | HomeAssistant | hass | ) |
Search adapters for the network.
Definition at line 41 of file config_flow.py.
| dict[str, str] homeassistant.components.nmap_tracker.config_flow.normalize_input | ( | dict[str, Any] | user_input | ) |
Validate hosts and exclude are valid.
Definition at line 89 of file config_flow.py.
| int homeassistant.components.nmap_tracker.config_flow.DEFAULT_NETWORK_PREFIX = 24 |
Definition at line 38 of file config_flow.py.
| int homeassistant.components.nmap_tracker.config_flow.MAX_CONSIDER_HOME = MAX_SCAN_INTERVAL * 6 |
Definition at line 37 of file config_flow.py.
| int homeassistant.components.nmap_tracker.config_flow.MAX_SCAN_INTERVAL = 3600 |
Definition at line 36 of file config_flow.py.