mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix unnecessary regeneration of access token in Tesla component (#31193)
* Fix unnecessary regeneration of access token * Add manifest.json
This commit is contained in:
parent
050e4afdc0
commit
4f07ccd350
@ -118,6 +118,7 @@ async def async_setup_entry(hass, config_entry):
|
||||
controller = TeslaAPI(
|
||||
websession,
|
||||
refresh_token=config[CONF_TOKEN],
|
||||
access_token=config[CONF_ACCESS_TOKEN],
|
||||
update_interval=config_entry.options.get(CONF_SCAN_INTERVAL, 300),
|
||||
)
|
||||
(refresh_token, access_token) = await controller.connect()
|
||||
|
@ -3,7 +3,7 @@
|
||||
"name": "Tesla",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/tesla",
|
||||
"requirements": ["teslajsonpy==0.2.3"],
|
||||
"requirements": ["teslajsonpy==0.3.0"],
|
||||
"dependencies": [],
|
||||
"codeowners": ["@zabuldon", "@alandtse"]
|
||||
}
|
||||
|
@ -1954,7 +1954,7 @@ temperusb==1.5.3
|
||||
# tensorflow==1.13.2
|
||||
|
||||
# homeassistant.components.tesla
|
||||
teslajsonpy==0.2.3
|
||||
teslajsonpy==0.3.0
|
||||
|
||||
# homeassistant.components.thermoworks_smoke
|
||||
thermoworks_smoke==0.1.8
|
||||
|
@ -631,7 +631,7 @@ sunwatcher==0.2.1
|
||||
tellduslive==0.10.10
|
||||
|
||||
# homeassistant.components.tesla
|
||||
teslajsonpy==0.2.3
|
||||
teslajsonpy==0.3.0
|
||||
|
||||
# homeassistant.components.toon
|
||||
toonapilib==3.2.4
|
||||
|
Loading…
x
Reference in New Issue
Block a user