Fix some mistakes in documentation (#36246)

This commit is contained in:
Daniel Høyer Iversen 2020-05-29 08:00:20 +02:00 committed by GitHub
parent fbe7b4ddfa
commit dcea238661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
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])
return scanner if scanner.success_init else None

View file

@ -35,7 +35,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
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])
return scanner if scanner.success_init else None