From e1f204266cdb860f5e813a4eb390e5695e31b8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Lidstr=C3=B6m?= Date: Fri, 27 Sep 2024 10:43:40 +0200 Subject: [PATCH] Need to poll more often after wakeUp or the vehicle goes back to sleep --- providers/tesla/tesla-agent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/tesla/tesla-agent.ts b/providers/tesla/tesla-agent.ts index 58b8b06c..90f78b2e 100644 --- a/providers/tesla/tesla-agent.ts +++ b/providers/tesla/tesla-agent.ts @@ -171,6 +171,7 @@ export class TeslaAgent extends AbstractAgent { if (data && data.response && data.response.state === "online") { subject.online = true; } + this.adjustInterval(job, 30); // poll more often after wakeup } if (subject.online) { this.stayOnline(subject);