diff --git a/Makefile b/Makefile index 18cd38ab..f30fe61e 100644 --- a/Makefile +++ b/Makefile @@ -6,18 +6,20 @@ coverage: pipenv run pytest -s --verbose --cov-report term-missing --cov-report xml --cov=teslajsonpy tests -Wi -Wd:::teslajsonpy clean: rm -rf dist/ build/ .egg teslajsonpy.egg-info/ +sync_deps: + pipenv-setup sync --pipfile init: pip3 install --upgrade pip pipenv pipenv lock pipenv install --three --dev -lint: flake8 docstyle pylint +lint: flake8 docstyle pylint sync_deps flake8: pipenv run flake8 teslajsonpy docstyle: pipenv run pydocstyle teslajsonpy pylint: pipenv run pylint teslajsonpy -publish: +publish: sync_deps pipenv run python setup.py sdist bdist_wheel pipenv run twine upload dist/* rm -rf dist/ build/ .egg teslajsonpy.egg-info/ diff --git a/Pipfile b/Pipfile index 5d37ae41..d9ccb76e 100644 --- a/Pipfile +++ b/Pipfile @@ -23,6 +23,7 @@ m2r2 = "*" sphinx-autoapi = "*" sphinx-copybutton = "*" bandit = "*" +pipenv-setup = "*" [packages] aiohttp = "*" diff --git a/Pipfile.lock b/Pipfile.lock index bbcd8c2b..ced3dc6b 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "a77eb7580a918b0ca94f7f59ebd8dbe4f72db5b3523bf931d5c02c3d923c1c04" + "sha256": "aa75fe8c4c1c3ad06ff51bac5dda5007eec74e358280adcf16997a8d9e0a9394" }, "pipfile-spec": 6, "requires": {}, @@ -119,11 +119,11 @@ }, "importlib-metadata": { "hashes": [ - "sha256:036eae7ebbd41db176774c42e80f3288a1e41c7ebfc8ed099a94653973ebd00f", - "sha256:6fd684b4c6c7bb36d57e93d57fc244b5ffc08faa1c298bcda3dfbbbf19d7550a" + "sha256:c9db46394197244adf2f0b08ec5bc3cf16757e9590b02af1fca085c16c0d600a", + "sha256:d2d46ef77ffc85cbf7dac7e81dd663fde71c45326131bea8033b9bad42268ebe" ], "markers": "python_version >= '3.6'", - "version": "==3.9.0" + "version": "==3.10.0" }, "multidict": { "hashes": [ @@ -304,9 +304,10 @@ }, "black": { "hashes": [ - "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea" + "sha256:1b30e59be925fafc1ee4565e5e08abef6b03fe455102883820fe5ee2e4734e0b", + "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539" ], - "version": "==20.8b1" + "version": "==19.10b0" }, "bleach": { "hashes": [ @@ -316,6 +317,19 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", "version": "==3.3.0" }, + "cached-property": { + "hashes": [ + "sha256:9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130", + "sha256:df4f613cf7ad9a588cc381aaf4a512d26265ecebd5eb9e1ba12f1319eb85a6a0" + ], + "version": "==1.5.2" + }, + "cerberus": { + "hashes": [ + "sha256:302e6694f206dd85cb63f13fd5025b31ab6d38c99c50c6d769f8fa0b0f299589" + ], + "version": "==1.3.2" + }, "certifi": { "hashes": [ "sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c", @@ -539,11 +553,11 @@ }, "importlib-metadata": { "hashes": [ - "sha256:036eae7ebbd41db176774c42e80f3288a1e41c7ebfc8ed099a94653973ebd00f", - "sha256:6fd684b4c6c7bb36d57e93d57fc244b5ffc08faa1c298bcda3dfbbbf19d7550a" + "sha256:c9db46394197244adf2f0b08ec5bc3cf16757e9590b02af1fca085c16c0d600a", + "sha256:d2d46ef77ffc85cbf7dac7e81dd663fde71c45326131bea8033b9bad42268ebe" ], "markers": "python_version >= '3.6'", - "version": "==3.9.0" + "version": "==3.10.0" }, "iniconfig": { "hashes": [ @@ -717,6 +731,13 @@ ], "version": "==0.4.3" }, + "orderedmultidict": { + "hashes": [ + "sha256:04070bbb5e87291cc9bfa51df413677faf2141c73c61d2a5f7b26bea3cd882ad", + "sha256:43c839a17ee3cdd62234c47deca1a8508a3f2ca1d0678a3bf791c87cf84adbf3" + ], + "version": "==1.0.1" + }, "packaging": { "hashes": [ "sha256:5b327ac1320dc863dca72f4514ecc086f31186744b84a230374cc1fd776feae5", @@ -740,6 +761,21 @@ "markers": "python_version >= '2.6'", "version": "==5.5.1" }, + "pep517": { + "hashes": [ + "sha256:ac59f3f6b9726a49e15a649474539442cf76e0697e39df4869d25e68e880931b", + "sha256:eba39d201ef937584ad3343df3581069085bacc95454c80188291d5b3ac7a249" + ], + "version": "==0.10.0" + }, + "pip-shims": { + "hashes": [ + "sha256:05b00ade9d1e686a98bb656dd9b0608a933897283dc21913fad6ea5409ff7e91", + "sha256:16ca9f87485667b16b978b68a1aae4f9cc082c0fa018aed28567f9f34a590569" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", + "version": "==0.5.3" + }, "pipenv": { "hashes": [ "sha256:4ab2f60742184d851ac44b9e1d423afe71dc2ea7a68bde07eb890c8b4ce5a420", @@ -748,6 +784,19 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==2020.11.15" }, + "pipenv-setup": { + "hashes": [ + "sha256:8a439aff7b16e18d7e07702c9186fc5fe86156679eace90e10c2578a43bd7af1", + "sha256:e1bfd55c1152024e762f1c17f6189fcb073166509e7c0228870f7ea160355648" + ], + "version": "==3.1.1" + }, + "pipfile": { + "hashes": [ + "sha256:f7d9f15de8b660986557eb3cc5391aa1a16207ac41bc378d03f414762d36c984" + ], + "version": "==0.0.2" + }, "pkginfo": { "hashes": [ "sha256:029a70cb45c6171c329dfc890cde0879f8c52d6f3922794796e06f577bb03db4", @@ -755,6 +804,17 @@ ], "version": "==1.7.0" }, + "plette": { + "extras": [ + "validation" + ], + "hashes": [ + "sha256:46402c03e36d6eadddad2a5125990e322dd74f98160c8f2dcd832b2291858a26", + "sha256:d6c9b96981b347bddd333910b753b6091a2c1eb2ef85bb373b4a67c9d91dca16" + ], + "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==0.2.3" + }, "pluggy": { "hashes": [ "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0", @@ -804,10 +864,10 @@ }, "pylint": { "hashes": [ - "sha256:0e21d3b80b96740909d77206d741aa3ce0b06b41be375d92e1f3244a274c1f8a", - "sha256:d09b0b07ba06bcdff463958f53f23df25e740ecd81895f7d2699ec04bbd8dc3b" + "sha256:466e067526b609c1f22b97895e2a64e5fc3d897016b91ef0f4f80480e89a1ef9", + "sha256:d29e1140d96362eb0b68fa0fb1a6192532f586886d6c52db79872a906a50be58" ], - "version": "==2.7.2" + "version": "==2.7.3" }, "pyparsing": { "hashes": [ @@ -838,6 +898,14 @@ ], "version": "==2.11.1" }, + "python-dateutil": { + "hashes": [ + "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c", + "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==2.8.1" + }, "pytz": { "hashes": [ "sha256:83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da", @@ -948,6 +1016,14 @@ ], "version": "==0.9.1" }, + "requirementslib": { + "hashes": [ + "sha256:50d20f27e4515a2393695b0d886219598302163438ae054253147b2bad9b4a44", + "sha256:9c1e8666ca4512724cdd1739adcc7df19ec7ad2ed21f0e748f9631ad6b54f321" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", + "version": "==1.5.16" + }, "rfc3986": { "hashes": [ "sha256:112398da31a3344dc25dbf477d8df6cb34f9278a94fee2625d89e4514be8bb9d", @@ -1070,6 +1146,14 @@ "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==0.10.2" }, + "tomlkit": { + "hashes": [ + "sha256:6babbd33b17d5c9691896b0e68159215a9387ebfa938aa3ac42f4a4beeb2b831", + "sha256:ac57f29693fab3e309ea789252fcce3061e19110085aa31af5446ca749325618" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", + "version": "==0.7.0" + }, "tox": { "hashes": [ "sha256:2a8d8a63660563e41e64e3b5b677e81ce1ffa5e2a93c2c565d3768c287445800", @@ -1173,6 +1257,14 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==0.5.4" }, + "vistir": { + "hashes": [ + "sha256:a37079cdbd85d31a41cdd18457fe521e15ec08b255811e81aa061fd5f48a20fb", + "sha256:eff1d19ef50c703a329ed294e5ec0b0fbb35b96c1b3ee6dcdb266dddbe1e935a" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==0.5.2" + }, "webencodings": { "hashes": [ "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", @@ -1180,6 +1272,14 @@ ], "version": "==0.5.1" }, + "wheel": { + "hashes": [ + "sha256:78b5b185f0e5763c26ca1e324373aadd49182ca90e825f7853f4b2509215dc0e", + "sha256:e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e" + ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", + "version": "==0.36.2" + }, "wrapt": { "hashes": [ "sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7" diff --git a/docs/html/.doctrees/environment.pickle b/docs/html/.doctrees/environment.pickle index df5322e1..645d94e1 100644 Binary files a/docs/html/.doctrees/environment.pickle and b/docs/html/.doctrees/environment.pickle differ diff --git a/docs/html/.doctrees/index.doctree b/docs/html/.doctrees/index.doctree index 05ac2885..9abb422e 100644 Binary files a/docs/html/.doctrees/index.doctree and b/docs/html/.doctrees/index.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.__version__.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.__version__.doctree index 170bc107..641b0aec 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.__version__.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.__version__.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.connection.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.connection.doctree index 9261edb3..9a2df172 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.connection.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.connection.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.const.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.const.doctree index e5c5f540..c1f6b834 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.const.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.const.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.controller.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.controller.doctree index 167fa18e..89e74ec3 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.controller.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.controller.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.doctree index adad331a..25d395f6 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.exceptions.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.exceptions.doctree index 13e07859..8c13d250 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.exceptions.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.exceptions.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.battery_sensor.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.battery_sensor.doctree index 43bab5c4..0a533835 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.battery_sensor.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.battery_sensor.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.binary_sensor.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.binary_sensor.doctree index 37fff9b7..4c877a50 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.binary_sensor.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.binary_sensor.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.charger.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.charger.doctree index dc12c250..d8c287ea 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.charger.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.charger.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.climate.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.climate.doctree index 52cc778d..150f7641 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.climate.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.climate.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.doctree index 4bbae989..16452e50 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.gps.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.gps.doctree index e8e0f360..7f4ab25f 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.gps.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.gps.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.lock.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.lock.doctree index eb2d15b3..ec8974bd 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.lock.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.lock.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.sentry_mode.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.sentry_mode.doctree index 0082e660..da6a0060 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.sentry_mode.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.sentry_mode.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.trunk.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.trunk.doctree index e48b5731..bcfe8f9d 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.trunk.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.trunk.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.vehicle.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.vehicle.doctree index 2313202a..d34f81cd 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.vehicle.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.homeassistant.vehicle.doctree differ diff --git a/docs/html/.doctrees/teslajsonpy/teslajsonpy.teslaproxy.doctree b/docs/html/.doctrees/teslajsonpy/teslajsonpy.teslaproxy.doctree index a595d7fd..b9e70618 100644 Binary files a/docs/html/.doctrees/teslajsonpy/teslajsonpy.teslaproxy.doctree and b/docs/html/.doctrees/teslajsonpy/teslajsonpy.teslaproxy.doctree differ diff --git a/docs/html/_sources/teslajsonpy/teslajsonpy.rst.txt b/docs/html/_sources/teslajsonpy/teslajsonpy.rst.txt index 383f394a..530e9b71 100644 --- a/docs/html/_sources/teslajsonpy/teslajsonpy.rst.txt +++ b/docs/html/_sources/teslajsonpy/teslajsonpy.rst.txt @@ -280,4 +280,4 @@ Variables .. code-block:: text - '0.11.5' + '0.14.0' diff --git a/docs/html/genindex.html b/docs/html/genindex.html index b1015c3c..27b6d49b 100644 --- a/docs/html/genindex.html +++ b/docs/html/genindex.html @@ -566,6 +566,8 @@
teslajsonpy
","teslajsonpy.__version__
","teslajsonpy.connection
","teslajsonpy.const
","teslajsonpy.controller
","teslajsonpy.exceptions
","teslajsonpy.homeassistant
","teslajsonpy.homeassistant.battery_sensor
","teslajsonpy.homeassistant.binary_sensor
","teslajsonpy.homeassistant.charger
","teslajsonpy.homeassistant.climate
","teslajsonpy.homeassistant.gps
","teslajsonpy.homeassistant.lock
","teslajsonpy.homeassistant.sentry_mode
","teslajsonpy.homeassistant.trunk
","teslajsonpy.homeassistant.vehicle
","teslajsonpy.teslaproxy
"],titleterms:{"class":1,"const":4,__version__:2,api:0,battery_sensor:8,binary_sensor:9,charger:10,climat:11,connect:3,contribut:0,control:5,credit:0,document:0,except:[1,6],gps:12,homeassist:[7,8,9,10,11,12,13,14,15,16],indic:0,licens:0,lock:13,refer:0,sentry_mod:14,submodul:[1,7],tabl:0,teslajsonpi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],teslaproxi:17,trunk:15,variabl:1,vehicl:16,welcom:0}})
\ No newline at end of file
+Search.setIndex({docnames:["index","teslajsonpy/teslajsonpy","teslajsonpy/teslajsonpy.__version__","teslajsonpy/teslajsonpy.connection","teslajsonpy/teslajsonpy.const","teslajsonpy/teslajsonpy.controller","teslajsonpy/teslajsonpy.exceptions","teslajsonpy/teslajsonpy.homeassistant","teslajsonpy/teslajsonpy.homeassistant.battery_sensor","teslajsonpy/teslajsonpy.homeassistant.binary_sensor","teslajsonpy/teslajsonpy.homeassistant.charger","teslajsonpy/teslajsonpy.homeassistant.climate","teslajsonpy/teslajsonpy.homeassistant.gps","teslajsonpy/teslajsonpy.homeassistant.lock","teslajsonpy/teslajsonpy.homeassistant.sentry_mode","teslajsonpy/teslajsonpy.homeassistant.trunk","teslajsonpy/teslajsonpy.homeassistant.vehicle","teslajsonpy/teslajsonpy.teslaproxy"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["index.rst","teslajsonpy/teslajsonpy.rst","teslajsonpy/teslajsonpy.__version__.rst","teslajsonpy/teslajsonpy.connection.rst","teslajsonpy/teslajsonpy.const.rst","teslajsonpy/teslajsonpy.controller.rst","teslajsonpy/teslajsonpy.exceptions.rst","teslajsonpy/teslajsonpy.homeassistant.rst","teslajsonpy/teslajsonpy.homeassistant.battery_sensor.rst","teslajsonpy/teslajsonpy.homeassistant.binary_sensor.rst","teslajsonpy/teslajsonpy.homeassistant.charger.rst","teslajsonpy/teslajsonpy.homeassistant.climate.rst","teslajsonpy/teslajsonpy.homeassistant.gps.rst","teslajsonpy/teslajsonpy.homeassistant.lock.rst","teslajsonpy/teslajsonpy.homeassistant.sentry_mode.rst","teslajsonpy/teslajsonpy.homeassistant.trunk.rst","teslajsonpy/teslajsonpy.homeassistant.vehicle.rst","teslajsonpy/teslajsonpy.teslaproxy.rst"],objects:{"":{teslajsonpy:[1,0,0,"-"]},"teslajsonpy.Battery":{async_update:[1,2,1,""],battery_charging:[1,2,1,""],battery_level:[1,2,1,""],device_class:[1,2,1,""],get_value:[1,2,1,""],has_battery:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.ChargerConnectionSensor":{async_update:[1,2,1,""],get_value:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.ChargerSwitch":{async_update:[1,2,1,""],has_battery:[1,2,1,""],is_charging:[1,2,1,""],refresh:[1,2,1,""],start_charge:[1,2,1,""],stop_charge:[1,2,1,""]},"teslajsonpy.ChargingSensor":{added_range:[1,2,1,""],async_update:[1,2,1,""],charge_current_request:[1,2,1,""],charge_energy_added:[1,2,1,""],charge_limit_soc:[1,2,1,""],charger_actual_current:[1,2,1,""],charger_voltage:[1,2,1,""],charging_rate:[1,2,1,""],device_class:[1,2,1,""],has_battery:[1,2,1,""],refresh:[1,2,1,""],time_left:[1,2,1,""]},"teslajsonpy.Climate":{async_update:[1,2,1,""],get_current_temp:[1,2,1,""],get_fan_status:[1,2,1,""],get_goal_temp:[1,2,1,""],has_battery:[1,2,1,""],is_hvac_enabled:[1,2,1,""],preset_mode:[1,2,1,""],preset_modes:[1,2,1,""],refresh:[1,2,1,""],set_preset_mode:[1,2,1,""],set_status:[1,2,1,""],set_temperature:[1,2,1,""]},"teslajsonpy.Connection":{get:[1,2,1,""],get_authorization_code:[1,2,1,""],get_authorization_code_link:[1,2,1,""],get_bearer_token:[1,2,1,""],get_sso_auth_token:[1,2,1,""],post:[1,2,1,""],refresh_access_token:[1,2,1,""],websocket_connect:[1,2,1,""]},"teslajsonpy.Controller":{command:[1,2,1,""],connect:[1,2,1,""],data_request:[1,2,1,""],get:[1,2,1,""],get_charging_params:[1,2,1,""],get_climate_params:[1,2,1,""],get_config_params:[1,2,1,""],get_drive_params:[1,2,1,""],get_expiration:[1,2,1,""],get_gui_params:[1,2,1,""],get_homeassistant_components:[1,2,1,""],get_last_update_time:[1,2,1,""],get_oauth_url:[1,2,1,""],get_state_params:[1,2,1,""],get_tokens:[1,2,1,""],get_updates:[1,2,1,""],get_vehicles:[1,2,1,""],is_token_refreshed:[1,2,1,""],post:[1,2,1,""],register_websocket_callback:[1,2,1,""],set_authorization_code:[1,2,1,""],set_authorization_domain:[1,2,1,""],set_updates:[1,2,1,""],update:[1,2,1,""],update_interval:[1,2,1,""]},"teslajsonpy.FrunkLock":{async_update:[1,2,1,""],has_battery:[1,2,1,""],is_locked:[1,2,1,""],lock:[1,2,1,""],refresh:[1,2,1,""],unlock:[1,2,1,""]},"teslajsonpy.GPS":{async_update:[1,2,1,""],get_location:[1,2,1,""],has_battery:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.Lock":{async_update:[1,2,1,""],has_battery:[1,2,1,""],is_locked:[1,2,1,""],lock:[1,2,1,""],refresh:[1,2,1,""],unlock:[1,2,1,""]},"teslajsonpy.Odometer":{async_update:[1,2,1,""],device_class:[1,2,1,""],get_value:[1,2,1,""],has_battery:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.OnlineSensor":{async_update:[1,2,1,""],get_value:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.ParkingSensor":{async_update:[1,2,1,""],get_value:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.Range":{async_update:[1,2,1,""],device_class:[1,2,1,""],get_value:[1,2,1,""],has_battery:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.RangeSwitch":{async_update:[1,2,1,""],has_battery:[1,2,1,""],is_maxrange:[1,2,1,""],refresh:[1,2,1,""],set_max:[1,2,1,""],set_standard:[1,2,1,""]},"teslajsonpy.SentryModeSwitch":{async_update:[1,2,1,""],available:[1,2,1,""],disable_sentry_mode:[1,2,1,""],enable_sentry_mode:[1,2,1,""],has_battery:[1,2,1,""],is_on:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.TempSensor":{async_update:[1,2,1,""],device_class:[1,2,1,""],get_inside_temp:[1,2,1,""],get_outside_temp:[1,2,1,""],has_battery:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.TeslaProxy":{modify_headers:[1,2,1,""],prepend_i18n_path:[1,2,1,""],prepend_relative_urls:[1,2,1,""],reset_data:[1,2,1,""],test_url:[1,2,1,""]},"teslajsonpy.TrunkLock":{async_update:[1,2,1,""],has_battery:[1,2,1,""],is_locked:[1,2,1,""],lock:[1,2,1,""],refresh:[1,2,1,""],unlock:[1,2,1,""]},"teslajsonpy.UpdateSensor":{async_update:[1,2,1,""],device_state_attributes:[1,2,1,""],get_value:[1,2,1,""],refresh:[1,2,1,""]},"teslajsonpy.homeassistant":{battery_sensor:[8,0,0,"-"],binary_sensor:[9,0,0,"-"],charger:[10,0,0,"-"],climate:[11,0,0,"-"],gps:[12,0,0,"-"],lock:[13,0,0,"-"],sentry_mode:[14,0,0,"-"],trunk:[15,0,0,"-"],vehicle:[16,0,0,"-"]},teslajsonpy:{"const":[4,0,0,"-"],Battery:[1,1,1,""],ChargerConnectionSensor:[1,1,1,""],ChargerSwitch:[1,1,1,""],ChargingSensor:[1,1,1,""],Climate:[1,1,1,""],Connection:[1,1,1,""],Controller:[1,1,1,""],FrunkLock:[1,1,1,""],GPS:[1,1,1,""],IncompleteCredentials:[1,3,1,""],Lock:[1,1,1,""],Odometer:[1,1,1,""],OnlineSensor:[1,1,1,""],ParkingSensor:[1,1,1,""],Range:[1,1,1,""],RangeSwitch:[1,1,1,""],RetryLimitError:[1,3,1,""],SentryModeSwitch:[1,1,1,""],TempSensor:[1,1,1,""],TeslaException:[1,3,1,""],TeslaProxy:[1,1,1,""],TrunkLock:[1,1,1,""],UnknownPresetMode:[1,3,1,""],UpdateSensor:[1,1,1,""],__version__:[2,0,0,"-"],connection:[3,0,0,"-"],controller:[5,0,0,"-"],exceptions:[6,0,0,"-"],homeassistant:[7,0,0,"-"],teslaproxy:[17,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","exception","Python exception"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:exception"},terms:{"100":0,"300":1,"302":1,"boolean":1,"class":0,"const":[0,1],"default":1,"function":[0,1],"int":1,"new":[0,1],"return":1,"static":1,"throw":[],"true":1,For:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],GPS:1,The:1,Use:[0,1],__connect:1,__str__:1,__version__:[0,1],_multidict:1,about:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],access:[1,5],access_token:1,across:1,actual:1,add:0,added:1,added_rang:1,addit:0,after:1,agre:0,aiohttp:1,alandts:17,alexa:1,all:1,alreadi:1,also:0,ani:[0,1],apach:[0,3,5],api:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],applic:1,arg:1,assist:[0,1],assit:1,assum:1,async:[0,1],async_upd:1,attempt:1,attribut:1,auth:1,auth_capture_proxi:[1,17],authcaptureproxi:[1,17],authent:1,author:[0,1],authorization_token:1,avail:1,awai:1,awak:1,base:[1,17],base_url:1,basic:1,batteri:1,battery_charg:1,battery_level:1,battery_sensor:[1,7],bearer:1,been:1,between:1,binary_sensor:[1,7],binarysensor:1,bool:1,both:1,brake:1,buffer:1,bug:0,bytes_or_buff:1,cabl:1,cach:1,call:1,callback:1,captur:1,car:1,car_id:1,chang:1,charg:1,charge_current_request:1,charge_energy_ad:1,charge_limit_soc:1,charger:[1,7],charger_actual_curr:1,charger_voltag:1,chargerconnectionsensor:1,chargerswitch:1,charging_param:1,charging_r:1,chargingsensor:1,check:0,client:1,client_reqrep:1,clientrespons:1,clientsess:1,climat:[1,7],climate_param:1,close:1,code:[0,1],com:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],command:1,commut:1,complet:1,compon:1,configur:1,confusingli:1,connect:[0,1],content:[],control:[0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17],copi:1,correctli:0,cover:0,coverag:0,creat:1,credenti:1,current:1,daili:1,data:1,data_request:1,decod:1,decor:1,defin:1,deliv:1,detail:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],dev:0,develop:0,devic:1,device_class:1,device_state_attribut:1,dict:1,dictionari:1,did:1,differ:1,direct:1,disabl:1,disable_sentry_mod:1,disconnect:1,discuss:0,displai:1,document:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],domain:1,door:1,dorr:0,down:1,drive_param:1,driver:1,duplic:1,either:1,els:[],email:1,empti:1,enabl:[0,1],enable_sentry_mod:1,enable_websocket:1,encod:1,endpoint:1,energi:1,engag:1,ensur:0,enter:0,entir:1,entiti:1,entri:1,environ:0,error:[0,1],except:0,exist:1,expir:1,expires_in:1,expos:1,extend:1,fail:1,fals:1,fan:1,featur:0,field:1,filter:1,filtered_vin:1,first:1,fix:0,forc:1,fork:0,from:[0,1],front:1,frunk:1,frunklock:1,full:1,gener:1,get:1,get_authorization_cod:1,get_authorization_code_link:1,get_bearer_token:1,get_charging_param:1,get_climate_param:1,get_config_param:1,get_current_temp:1,get_drive_param:1,get_expir:1,get_fan_statu:1,get_goal_temp:1,get_gui_param:1,get_homeassistant_compon:1,get_inside_temp:1,get_last_update_tim:1,get_loc:1,get_oauth_url:1,get_outside_temp:1,get_sso_auth_token:1,get_state_param:1,get_token:1,get_upd:1,get_valu:1,get_vehicl:1,getdefaultencod:1,github:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],given:1,gps:[1,7],gui:1,gui_param:1,gui_set:1,handl:1,handler:1,has:[0,1],has_batteri:1,have:0,header:1,hit:1,home:[0,1],homeassist:[0,1],host:1,host_url:1,hour:1,html:1,http:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],hvac:1,i18n:1,i18next:1,ideal:1,identifi:[1,3,5],includ:1,incomplet:1,incompletecredenti:1,index:[0,1],indic:1,info:2,inherit:1,init:0,initi:0,insid:1,inspir:0,inst:[],instal:0,instanc:[],intend:1,is_charg:1,is_hvac_en:1,is_lock:1,is_maxrang:1,is_on:1,is_token_refresh:1,json:1,kei:1,keyword:[],kwarg:1,last:1,last_upd:1,least:1,left:1,level:1,librari:0,licens:[3,5],limit:1,lint:0,list:1,loadpath:1,locat:1,lock:[1,7],logic:3,login:1,mai:[0,1],make:0,max:1,measur:1,messag:1,method:1,mfa:1,mfa_cod:1,mfa_devic:1,mode:1,modif:1,modifi:1,modify_head:1,modul:0,more:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],motor:1,multidict:1,multipl:1,must:1,name:1,need:1,next:1,none:1,note:0,number:1,oauth3:1,oauth:[1,17],object:1,obtain:1,occur:1,odomet:1,offici:0,on_disconnect:1,on_messag:1,one:0,onli:1,onlin:1,onlinesensor:1,open:[0,1],option:1,origin:0,otherwis:1,othewis:1,outsid:1,overwrit:1,own:0,owner:1,packag:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],page:0,paramet:1,park:1,parkingsensor:1,partial:1,pass:1,passeng:1,password:1,path:1,pipenv:0,place:1,pleas:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],plu:1,post:1,prepend:1,prepend_i18n_path:1,prepend_relative_url:1,preset:1,preset_mod:1,primarili:0,process:1,properti:1,provid:[0,1],proxi:[1,17],proxy_url:1,pull:0,python:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],queri:1,rais:1,rang:1,rangeswitch:1,rate:1,reach:1,read:1,readm:0,rear:1,redirect:1,refer:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],refresh:1,refresh_access_token:1,refresh_token:1,regardless:1,regist:1,register_websocket_callback:1,rel:1,replac:1,repo:0,repositori:0,repr:1,request:[0,1],requir:1,reset:1,reset_data:1,resp:1,respons:1,result:1,retri:1,retriev:1,retry_limit:1,retrylimiterror:1,risk:0,roll:1,rout:1,run:[0,1],scaffold:0,search:0,second:1,self:1,send:1,sensor:1,sentri:1,sentry_mod:[1,7],sentrymodeswitch:1,servic:1,set:1,set_authorization_cod:1,set_authorization_domain:1,set_max:1,set_preset_mod:1,set_standard:1,set_statu:1,set_temperatur:1,set_upd:1,setup:1,shell:0,should:1,simplisaf:0,sinc:1,site:1,sleep:1,spdx:[3,5],specif:1,specifi:1,src:1,sso:1,standard:1,start:1,start_charg:1,state:1,state_param:1,statu:1,step:1,stop:[0,1],stop_charg:1,store:1,str:1,stream:1,strict:1,string:1,submit:0,submodul:0,succeed:[],success:1,support_preset_mod:1,sys:1,temp:1,temperatur:1,tempsensor:1,term:[],tesla:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],teslaapi:1,teslaexcept:1,teslaproxi:[0,1],test:[0,1],test_login:1,test_url:1,text:1,thank:0,therefor:0,thi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],through:1,tim:0,timdorr:1,time:[0,1],time_left:1,timestamp:1,token:1,token_refresh:1,torn:1,trip:1,trunk:[1,7],trunklock:1,type:[0,1],under:0,underli:[1,3],union:1,unit:1,unknown:1,unknownpresetmod:1,unlock:1,updat:[0,1],update_interv:1,updatesensor:1,ups:1,url:1,use:1,used:1,using:1,valid:1,valu:1,variabl:0,vehicl:[1,7],vehicle_id:1,vehicledevic:1,version:2,vin:1,virtual:0,voltag:1,wake:1,wake_if_asleep:1,wake_up:1,warn:0,warranti:0,web:1,web_request:1,websess:1,websocket:1,websocket_connect:1,when:1,where:1,whether:1,which:1,without:0,work:0,wrap:1,write:0,yarl:1,you:0,your:0,yourself:0,zabuldon:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},titles:["Welcome to teslajsonpy\u2019s documentation!","teslajsonpy
","teslajsonpy.__version__
","teslajsonpy.connection
","teslajsonpy.const
","teslajsonpy.controller
","teslajsonpy.exceptions
","teslajsonpy.homeassistant
","teslajsonpy.homeassistant.battery_sensor
","teslajsonpy.homeassistant.binary_sensor
","teslajsonpy.homeassistant.charger
","teslajsonpy.homeassistant.climate
","teslajsonpy.homeassistant.gps
","teslajsonpy.homeassistant.lock
","teslajsonpy.homeassistant.sentry_mode
","teslajsonpy.homeassistant.trunk
","teslajsonpy.homeassistant.vehicle
","teslajsonpy.teslaproxy
"],titleterms:{"class":1,"const":4,__version__:2,api:0,battery_sensor:8,binary_sensor:9,charger:10,climat:11,connect:3,contribut:0,control:5,credit:0,document:0,except:[1,6],gps:12,homeassist:[7,8,9,10,11,12,13,14,15,16],indic:0,licens:0,lock:13,refer:0,sentry_mod:14,submodul:[1,7],tabl:0,teslajsonpi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],teslaproxi:17,trunk:15,variabl:1,vehicl:16,welcom:0}})
\ No newline at end of file
diff --git a/docs/html/teslajsonpy/teslajsonpy.connection.html b/docs/html/teslajsonpy/teslajsonpy.connection.html
index 40258db9..aea1a546 100644
--- a/docs/html/teslajsonpy/teslajsonpy.connection.html
+++ b/docs/html/teslajsonpy/teslajsonpy.connection.html
@@ -174,6 +174,7 @@
teslajsonpy.connection
¶Python Package for controlling Tesla API.
+SPDX-License-Identifier: Apache-2.0
Underlying connection logic.
For more details about this api, please refer to the documentation at https://github.com/zabuldon/teslajsonpy
diff --git a/docs/html/teslajsonpy/teslajsonpy.controller.html b/docs/html/teslajsonpy/teslajsonpy.controller.html index 0deab87b..1732ea3b 100644 --- a/docs/html/teslajsonpy/teslajsonpy.controller.html +++ b/docs/html/teslajsonpy/teslajsonpy.controller.html @@ -174,6 +174,7 @@teslajsonpy.controller
¶Python Package for controlling Tesla API.
+SPDX-License-Identifier: Apache-2.0
Controller to control access to the Tesla API.
For more details about this api, please refer to the documentation at https://github.com/zabuldon/teslajsonpy
diff --git a/docs/html/teslajsonpy/teslajsonpy.html b/docs/html/teslajsonpy/teslajsonpy.html index c4b25880..ecaa0a2a 100644 --- a/docs/html/teslajsonpy/teslajsonpy.html +++ b/docs/html/teslajsonpy/teslajsonpy.html @@ -273,7 +273,7 @@get_authorization_code
(email: str, password: str, mfa_code: str = '', mfa_device: int = 0, retry_limit: int = 3) → str
+¶
Get authorization code from the oauth3 login method.
connect
(test_login=False, wake_if_asleep=False, filtered_vins=None) → Dict[str, str]¶connect
(test_login: bool = False, wake_if_asleep: bool = False, filtered_vins: Optional[List[str]] = None, mfa_code: str = '') → Dict[str, str]¶
Connect controller to Tesla.
test_login (bool, optional): Whether to test credentials only. Defaults to False. wake_if_asleep (bool, optional): Whether to wake up any sleeping cars to update state. Defaults to False. -filtered_vins (list, optional): If not empty, filters the cars by the provided VINs.
+filtered_vins (list, optional): If not empty, filters the cars by the provided VINs. +mfa_code (Text, optional): MFA code to use for connectionDict[Text, Text]: Returns the refresh_token, access_token, and expires_in time
Set authorization domain in Connection.
+set_updates
(car_id: str, value: bool) → None¶prepend_i18n_path
(base_url: yarl.URL, html: str) → str¶Prepend path for i18n loadPath so it’ll reach the proxy.
+This is intended to be used for to place the proxy_url path in front of relative urls for loadPath in i18next.
+base_url (URL) – Base URL to prepend
html (Text) – Text to replace
Text: Replaced text
+prepend_relative_urls
(base_url: yarl.URL, html: str) → str¶reset_data
() → None¶Reset all stored data.
+A proxy may need to service multiple login requests if the route is not torn down. This function will reset all data between logins.
+test_url
(resp: aiohttp.client_reqrep.ClientResponse, data: Dict[str, Any], query: Dict[str, Any])¶teslajsonpy.
TeslaException
(code, *args, **kwargs)¶teslajsonpy.
TeslaException
(code: str, *args, **kwargs)¶
Class of Tesla API exceptions.
Inheritance
digraph inheritancea58a391388 { @@ -1650,7 +1683,7 @@teslajsonpy.
UnknownPresetMode
(code, *args, **kwargs)¶teslajsonpy.
UnknownPresetMode
(code: str, *args, **kwargs)¶
Class of exceptions for Unknown Preset.
Inheritance
digraph inheritancec2ed502f44 { @@ -1665,7 +1698,7 @@teslajsonpy.
RetryLimitError
(code, *args, **kwargs)¶teslajsonpy.
RetryLimitError
(code: str, *args, **kwargs)¶
Class of exceptions for hitting retry limits.
Inheritance
digraph inheritancefae8dcd8d6 { @@ -1680,7 +1713,7 @@teslajsonpy.
IncompleteCredentials
(code, *args, **kwargs)¶teslajsonpy.
IncompleteCredentials
(code: str, *args, devices: Optional[Dict[Any, Any]] = None, **kwargs)¶
Class of exceptions for incomplete credentials.
Inheritance
digraph inheritance49d735891d { @@ -1711,7 +1744,7 @@'0.11.5'
+'0.14.0'
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 0ba6d999..658e6b5e 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -9,96 +9,115 @@
# requirements. To emit only development requirements, pass "--dev-only".
-i https://pypi.python.org/simple
-aiohttp==3.7.4
+aiohttp==3.7.4.post0
alabaster==0.7.12
appdirs==1.4.4
-astroid==2.4.2; python_version >= '3.5'
+astroid==2.5.2; python_version >= '3.6'
async-timeout==3.0.1; python_full_version >= '3.5.3'
attrs==20.3.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
-authcaptureproxy==0.4.1
+authcaptureproxy==0.7.1
autoapi==2.0.1
babel==2.9.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
backoff==1.10.0
+bandit==1.7.0
beautifulsoup4==4.9.3
-black==20.8b1
+black==19.10b0
bleach==3.3.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
+cached-property==1.5.2
+cerberus==1.3.2
certifi==2020.12.5
-chardet==3.0.4
+chardet==4.0.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
click==7.1.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
colorama==0.4.4; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
-coverage==5.4; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'
+coverage==5.5; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'
detox==0.19
distlib==0.3.1
dnspython==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
docutils==0.16; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
-eventlet==0.30.1
+eventlet==0.30.2
filelock==3.0.12
-flake8==3.8.4
+flake8==3.9.0
+gitdb==4.0.7; python_version >= '3.4'
+gitpython==3.1.14; python_version >= '3.4'
greenlet==1.0.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
idna==3.1; python_version >= '3.4'
imagesize==1.2.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
-importlib-metadata==3.4.0; python_version >= '3.6'
+importlib-metadata==3.10.0; python_version >= '3.6'
iniconfig==1.1.1
-isort==5.7.0; python_version >= '3.6' and python_version < '4.0'
+isort==5.8.0; python_version >= '3.6' and python_version < '4.0'
jinja2==2.11.3; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
-keyring==22.0.1; python_version >= '3.6'
-lazy-object-proxy==1.4.3; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+keyring==23.0.1; python_version >= '3.6'
+lazy-object-proxy==1.6.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
m2r2==0.2.7
markupsafe==1.1.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
mccabe==0.6.1
mistune==0.8.4
multidict==5.1.0; python_version >= '3.6'
mypy-extensions==0.4.3
-mypy==0.800
+mypy==0.812
+orderedmultidict==1.0.1
packaging==20.9; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
pathspec==0.8.1
+pbr==5.5.1; python_version >= '2.6'
+pep517==0.10.0
+pip-shims==0.5.3; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
+pipenv-setup==3.1.1
pipenv==2020.11.15; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+pipfile==0.0.2
pkginfo==1.7.0
+plette[validation]==0.2.3; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'
pluggy==0.13.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
py==1.10.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
-pycodestyle==2.6.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
-pydocstyle==5.1.1
-pyflakes==2.2.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
-pygments==2.8.0; python_version >= '3.5'
-pylint==2.6.0
+pycodestyle==2.7.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+pydocstyle==6.0.0
+pyflakes==2.3.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+pygments==2.8.1; python_version >= '3.5'
+pylint==2.7.3
pyparsing==2.4.7; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'
pytest-asyncio==0.14.0
pytest-cov==2.11.1
pytest==6.2.2
+python-dateutil==2.8.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
pytz==2021.1
pyyaml==5.4.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
-readme-renderer==28.0
-regex==2020.11.13
+readme-renderer==29.0
+regex==2021.3.17
requests-toolbelt==0.9.1
requests==2.25.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
+requirementslib==1.5.16; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
rfc3986==1.4.0
six==1.15.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+smmap==4.0.0; python_version >= '3.5'
snowballstemmer==2.1.0
-soupsieve==2.2; python_version >= '3.0'
+soupsieve==2.2.1; python_version >= '3.0'
sphinx-autoapi==1.7.0
sphinx-copybutton==0.3.1
sphinx-rtd-theme==0.5.1
-sphinx==3.5.0
+sphinx==3.5.3
sphinxcontrib-applehelp==1.0.2; python_version >= '3.5'
sphinxcontrib-devhelp==1.0.2; python_version >= '3.5'
sphinxcontrib-htmlhelp==1.0.3; python_version >= '3.5'
sphinxcontrib-jsmath==1.0.1; python_version >= '3.5'
sphinxcontrib-qthelp==1.0.3; python_version >= '3.5'
sphinxcontrib-serializinghtml==1.1.4; python_version >= '3.5'
+stevedore==3.3.0; python_version >= '3.6'
toml==0.10.2; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'
+tomlkit==0.7.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
tox-pipenv==1.10.1
tox==3.6.1
-tqdm==4.56.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
-twine==3.3.0
+tqdm==4.59.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+twine==3.4.1
typed-ast==1.4.2
typer==0.3.2; python_version >= '3.6'
typing-extensions==3.7.4.3
unidecode==1.2.0
-urllib3==1.26.3; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'
+urllib3==1.26.4; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'
virtualenv-clone==0.5.4; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
-virtualenv==20.4.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+virtualenv==20.4.3; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
+vistir==0.5.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
webencodings==0.5.1
+wheel==0.36.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
wrapt==1.12.1
yarl==1.6.3; python_version >= '3.6'
-zipp==3.4.0; python_version >= '3.6'
+zipp==3.4.1; python_version >= '3.6'
teslajsonpy
diff --git a/docs/teslajsonpy/teslajsonpy.rst b/docs/teslajsonpy/teslajsonpy.rst
index 383f394a..530e9b71 100644
--- a/docs/teslajsonpy/teslajsonpy.rst
+++ b/docs/teslajsonpy/teslajsonpy.rst
@@ -280,4 +280,4 @@ Variables
.. code-block:: text
- '0.11.5'
+ '0.14.0'
diff --git a/setup.py b/setup.py
index 2a03503c..516485dd 100644
--- a/setup.py
+++ b/setup.py
@@ -28,13 +28,6 @@
LICENSE = "Apache-2.0"
VERSION = None
-# What packages are required for this module to be executed?
-REQUIRED = ["aiohttp", "authcaptureproxy>=0.7.1,<1.0.0", "backoff", "beautifulsoup4", "wrapt"]
-
-# What packages are optional?
-EXTRAS = {
- # "fancy feature": ["django"],
-}
# The rest you shouldn"t have to touch too much :)
# ------------------------------------------------
@@ -116,8 +109,17 @@ def run(self):
# entry_points={
# "console_scripts": ["mycli=mymodule:cli"],
# },
- install_requires=REQUIRED,
- extras_require=EXTRAS,
+ # What packages are required for this module to be executed?
+ install_requires=[
+ "aiohttp",
+ "backoff",
+ "beautifulsoup4",
+ "wrapt",
+ "authcaptureproxy~=0.7.1",
+ ],
+ # What packages are optional?
+ extras_require={},
+ dependency_links=[],
include_package_data=True,
license=LICENSE,
classifiers=[