Skip to content

Commit

Permalink
[skip ci] increase tibber api retry count
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaDodds committed Dec 19, 2024
1 parent e761d4b commit 6ee4e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tibber_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def log_accumulated(data):
logging.info(f"Tibber: Live measurements starting...")
try:
home.start_live_feed(user_agent=f"cerbomoticzgx/{dotenv_config('VERSION')}",
retries=3,
retries=10,
retry_interval=10)
except (TransportClosed, ConnectionClosedError) as e:
logging.info(f"Tibber Error: {e} It seems we have a network/connectivity issue. Attempting a service restart...")
Expand Down

0 comments on commit 6ee4e2a

Please sign in to comment.