Update excess powerwall logging to be debug (#34994)

This commit is contained in:
J. Nick Koston 2020-04-30 19:40:31 -05:00 committed by GitHub
parent 4e55fa6c5c
commit 208fa84a27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,9 +124,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
async def async_update_data():
"""Fetch data from API endpoint."""
# Check if we had an error before
_LOGGER.info("Checking if update failed")
_LOGGER.debug("Checking if update failed")
if not hass.data[DOMAIN][entry.entry_id][POWERWALL_API_CHANGED]:
_LOGGER.info("Updating data")
_LOGGER.debug("Updating data")
try:
return await hass.async_add_executor_job(
_fetch_powerwall_data, power_wall