mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Log the rachio webhook url (#34992)
This commit is contained in:
parent
208fa84a27
commit
cfc0edff6b
@ -123,7 +123,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
|||||||
if not person.controllers:
|
if not person.controllers:
|
||||||
_LOGGER.error("No Rachio devices found in account %s", person.username)
|
_LOGGER.error("No Rachio devices found in account %s", person.username)
|
||||||
return False
|
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
|
# Enable component
|
||||||
hass.data[DOMAIN][entry.entry_id] = person
|
hass.data[DOMAIN][entry.entry_id] = person
|
||||||
|
Loading…
x
Reference in New Issue
Block a user