Fixed the lannouncer platform get_service method (#5352)

This commit is contained in:
Heiko Rothe 2017-01-15 22:45:54 +01:00 committed by Paulus Schoutsen
parent 8200827a19
commit ad23613cdc

View file

@ -29,7 +29,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
_LOGGER = logging.getLogger(__name__)
def get_service(hass, config):
def get_service(hass, config, discovery_info=None):
"""Get the Lannouncer notification service."""
host = config.get(CONF_HOST)
port = config.get(CONF_PORT)