Skip to content

Commit

Permalink
fix: use json in post requests
Browse files Browse the repository at this point in the history
Tesla recently tightened requirements to always use json for post
requests.

Thanks to @haoboji for the fix.

closes #231
  • Loading branch information
alandtse committed Jul 10, 2022
1 parent 651bbb9 commit 867475f
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 506 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 @@ -4,7 +4,7 @@
"config_flow": true,
"documentation": "https://github.com/alandtse/tesla/wiki",
"issue_tracker": "https://github.com/alandtse/tesla/issues",
"requirements": ["teslajsonpy==2.2.1"],
"requirements": ["teslajsonpy==2.3.0"],
"codeowners": ["@alandtse"],
"dependencies": ["http"],
"dhcp": [
Expand Down
Loading

0 comments on commit 867475f

Please sign in to comment.