Skip to content

Commit

Permalink
Bump teslajsonpy to 3.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Hendrix committed Nov 26, 2024
1 parent c9275d9 commit e5371a9
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 75 deletions.
2 changes: 1 addition & 1 deletion custom_components/tesla_custom/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/alandtse/tesla/issues",
"loggers": ["teslajsonpy"],
"requirements": ["teslajsonpy==3.12.2"],
"requirements": ["teslajsonpy==3.12.3"],
"version": "3.24.2"
}
4 changes: 2 additions & 2 deletions custom_components/tesla_custom/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

import logging

import voluptuous as vol
from homeassistant.const import ATTR_COMMAND, CONF_EMAIL, CONF_SCAN_INTERVAL
from homeassistant.core import callback
from homeassistant.helpers import config_validation as cv
from teslajsonpy import Controller
import voluptuous as vol

from .const import (
ATTR_PARAMETERS,
Expand Down Expand Up @@ -112,7 +112,7 @@ async def api(call):
command,
parameters,
)
path_vars = parameters.pop(ATTR_PATH_VARS, {})
path_vars = parameters.pop(ATTR_PATH_VARS)
response = await controller.api(name=command, path_vars=path_vars, **parameters)
return response

Expand Down
Loading

0 comments on commit e5371a9

Please sign in to comment.