mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Update excess powerwall logging to be debug (#34994)
This commit is contained in:
parent
4e55fa6c5c
commit
208fa84a27
@ -124,9 +124,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
|||||||
async def async_update_data():
|
async def async_update_data():
|
||||||
"""Fetch data from API endpoint."""
|
"""Fetch data from API endpoint."""
|
||||||
# Check if we had an error before
|
# 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]:
|
if not hass.data[DOMAIN][entry.entry_id][POWERWALL_API_CHANGED]:
|
||||||
_LOGGER.info("Updating data")
|
_LOGGER.debug("Updating data")
|
||||||
try:
|
try:
|
||||||
return await hass.async_add_executor_job(
|
return await hass.async_add_executor_job(
|
||||||
_fetch_powerwall_data, power_wall
|
_fetch_powerwall_data, power_wall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user