Log the rachio webhook url (#34992)

This commit is contained in:
J. Nick Koston 2020-04-30 19:41:24 -05:00 committed by Paulus Schoutsen
parent 77d89d13b6
commit b8070567bf

View File

@ -123,7 +123,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
if not person.controllers:
_LOGGER.error("No Rachio devices found in account %s", person.username)
return False
_LOGGER.info("%d Rachio device(s) found", len(person.controllers))
_LOGGER.info(
"%d Rachio device(s) found; The url %s must be accessible from the internet in order to receive updates",
len(person.controllers),
webhook_url,
)
# Enable component
hass.data[DOMAIN][entry.entry_id] = person