Skip to content

Commit

Permalink
Merge pull request #232 from alandtse/dev
Browse files Browse the repository at this point in the history
2022-07-09
  • Loading branch information
alandtse authored Jul 10, 2022
2 parents 80fe213 + 867475f commit bd24ef0
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 516 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,39 +30,39 @@ repos:
- id: check-yaml
exclude: ^recipes/.*
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.3.0

# --- Commit msg checks ---
- hooks:
- id: commitizen
stages: ["commit-msg"]
repo: https://github.com/commitizen-tools/commitizen
rev: v2.14.0
rev: v2.28.0
# --- Linters ---
- hooks:
- id: dockerfile_lint
repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
rev: v1.1.1
rev: v1.1.2
- hooks:
- id: black
repo: https://github.com/psf/black
rev: 20.8b1
rev: 22.6.0
- repo: https://github.com/pre-commit/mirrors-prettier
hooks:
- id: prettier
rev: v2.2.1
rev: v2.7.1
- repo: https://github.com/asottile/pyupgrade
rev: v2.10.1
rev: v2.35.0
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/PyCQA/prospector
rev: 1.3.1
rev: 1.7.7
hooks:
- id: prospector
exclude: ^(tests)/.+\.py$
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
rev: 1.7.4
hooks:
- id: bandit
args:
Expand All @@ -71,7 +71,7 @@ repos:
- --configfile=tests/bandit.yaml
files: ^(tests)/.+\.py$
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
rev: 5.10.1
hooks:
- id: isort
# - repo: local
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
<!--next-version-placeholder-->

## v2.3.0 (2022-05-29)
### Feature
* Add support for async_remove_config_entry_device ([#218](https://github.com/alandtse/tesla/issues/218)) ([`562c1b0`](https://github.com/alandtse/tesla/commit/562c1b0ce01ced7adb0743a39178a7e9951c5e35))

### Fix
* Improve handling on 0 Watts power reads ([`bf94f3b`](https://github.com/alandtse/tesla/commit/bf94f3b68ad7d55fb48add049b0c5b444adb55f8))
* Switch to non-deprecated async_get instead ([#217](https://github.com/alandtse/tesla/issues/217)) ([`f82e030`](https://github.com/alandtse/tesla/commit/f82e030fca09b8a45497db5a63d7e37f9ae6f4d9))
* Use default if scan_interval settings missing ([`0d3d4ce`](https://github.com/alandtse/tesla/commit/0d3d4ce2947d311a6664cf77f97d9ab88433666a))

## v2.2.1 (2022-05-02)
### Fix
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ _Component built with [integration_blueprint][integration_blueprint]._
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge
[commits-shield]: https://img.shields.io/github/commit-activity/w/alandtse/tesla?style=for-the-badge
[commits]: https://github.com/alandtse/tesla/commits/main
[hacs]: https://github.com/custom-components/hacs
[hacs]: https://github.com/hacs/integration
[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge
[discord]: https://discord.gg/Qa5fW2R
[discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge
Expand Down
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 bd24ef0

Please sign in to comment.