From 839494ef4a58f0dcde4049aea48ee09143c4275f Mon Sep 17 00:00:00 2001 From: Simon Hansen <67142049+DurgNomis-drol@users.noreply.github.com> Date: Sun, 27 Mar 2022 15:33:22 +0200 Subject: [PATCH 1/2] Update controller.py (#151) Toyota recently started to require this header. Fixes: #152 --- mytoyota/controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mytoyota/controller.py b/mytoyota/controller.py index fc663b30..6b151317 100644 --- a/mytoyota/controller.py +++ b/mytoyota/controller.py @@ -173,6 +173,7 @@ async def request( # pylint: disable=too-many-branches "X-TME-LC": self._locale, "X-TME-LOCALE": self._locale, "X-TME-TOKEN": self._token, + "X-TME-APP-VERSION": "4.4.0", } ) From d330f26986091a30c858100dde883551e4512208 Mon Sep 17 00:00:00 2001 From: Simon Hansen <67142049+DurgNomis-drol@users.noreply.github.com> Date: Sun, 27 Mar 2022 15:59:34 +0200 Subject: [PATCH 2/2] Update controller.py --- mytoyota/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mytoyota/controller.py b/mytoyota/controller.py index 6b151317..a336e74e 100644 --- a/mytoyota/controller.py +++ b/mytoyota/controller.py @@ -173,7 +173,7 @@ async def request( # pylint: disable=too-many-branches "X-TME-LC": self._locale, "X-TME-LOCALE": self._locale, "X-TME-TOKEN": self._token, - "X-TME-APP-VERSION": "4.4.0", + "X-TME-APP-VERSION": "4.10.0", } )