-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from sveinse/feature-refactor
Major refactor of the component. Using entities and devices + many other improvements and fixes
- Loading branch information
Showing
45 changed files
with
3,574 additions
and
3,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"name": "Zaptec integration development", | ||
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye", | ||
"postCreateCommand": "scripts/setup", | ||
"forwardPorts": [ | ||
8123 | ||
], | ||
"portsAttributes": { | ||
"8123": { | ||
"label": "Home Assistant", | ||
"onAutoForward": "notify" | ||
}, | ||
"0-8122": { | ||
"label": "Auto-Forwarded - Other", | ||
"onAutoForward": "ignore" | ||
}, | ||
"8124-999999": { | ||
"label": "Auto-Forwarded - Other", | ||
"onAutoForward": "ignore" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"github.vscode-pull-request-github", | ||
"ryanluker.vscode-coverage-gutters", | ||
"ms-python.vscode-pylance", | ||
"visualstudioexptteam.vscodeintellicode", | ||
"redhat.vscode-yaml", | ||
"esbenp.prettier-vscode" | ||
], | ||
"settings": { | ||
"files.eol": "\n", | ||
"editor.tabSize": 4, | ||
"python.defaultInterpreterPath": "/usr/local/bin/python", | ||
"python.pythonPath": "/usr/local/python/bin/python", | ||
"python.analysis.autoSearchPaths": false, | ||
"python.linting.pylintEnabled": true, | ||
"python.linting.enabled": true, | ||
"python.formatting.provider": "black", | ||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black", | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnType": true, | ||
"files.trimTrailingWhitespace": true | ||
} | ||
} | ||
}, | ||
"remoteUser": "vscode", | ||
"features": { | ||
"rust": "latest" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Changelog | ||
|
||
## 0.7.0 | ||
|
||
Major refactor of the component | ||
* Objective: Update the component to the "HA way" using devices and entities | ||
* Zaptec devices (installation, circuit and charger) use name set in Zaptec portal | ||
* Added entities for each device. No need for using attrs and templates. | ||
* Added support for selecting which chargers to add to zaptec | ||
* Added support for adding an optional prefix to the device names | ||
* Fixed adjustable charging currents, all or individual three phase. | ||
* Added support for authorization and deauthorization of charging using the | ||
Zaptec internal *native* authentication | ||
* Zaptec produces energy sensors that can be used with HA energy dashboard | ||
* Refactor services in order to make them easier to use with the service call UIs | ||
* Hardnened the cloud connection robustness (better timeout, better data and | ||
error handling) | ||
* Use data update coordinator for polling entities | ||
* Added "Download diagnostics" | ||
* Bugfixes and documentation update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.