mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Fix some mistakes in documentation (#36246)
This commit is contained in:
parent
fbe7b4ddfa
commit
dcea238661
@ -34,7 +34,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
|||||||
|
|
||||||
|
|
||||||
def get_scanner(_hass, config):
|
def get_scanner(_hass, config):
|
||||||
"""Validate the configuration and return a Nmap scanner."""
|
"""Validate the configuration and return a Hitron CODA-4582U scanner."""
|
||||||
scanner = HitronCODADeviceScanner(config[DOMAIN])
|
scanner = HitronCODADeviceScanner(config[DOMAIN])
|
||||||
|
|
||||||
return scanner if scanner.success_init else None
|
return scanner if scanner.success_init else None
|
||||||
|
@ -35,7 +35,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
|||||||
|
|
||||||
|
|
||||||
def get_scanner(_hass, config):
|
def get_scanner(_hass, config):
|
||||||
"""Validate the configuration and return a Nmap scanner."""
|
"""Validate the configuration and return a Keenetic NDMS2 scanner."""
|
||||||
scanner = KeeneticNDMS2DeviceScanner(config[DOMAIN])
|
scanner = KeeneticNDMS2DeviceScanner(config[DOMAIN])
|
||||||
|
|
||||||
return scanner if scanner.success_init else None
|
return scanner if scanner.success_init else None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user