Skip to content

Commit

Permalink
Set delayNextWakeAttempt if wake errors out
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBishop committed May 15, 2024
1 parent d58a954 commit c65043a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/TWCManager/Vehicle/TeslaAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ def car_api_available(
# in 15 minutes. We'll show an error about this
# later.
vehicle.delayNextWakeAttempt = 15 * 60
else:
vehicle.delayNextWakeAttempt = 25

if state == "error":
logger.info(
Expand Down

0 comments on commit c65043a

Please sign in to comment.