Lucas Mindêllo de Andrade
5fb12c93aa
SunWEG reauth flow ( #105861 )
...
* feat(sunweg): reauth flow
* fix(sunweg): autentication as sunweg 2.1.0
* fix: configflowresult
* chore(sunweg): dedupe code
* chore(sunweg): using entry_id instead of unique_id
* test(sunweg): added test launch reauth flow
* chore(sunweg): moved test_reauth_started test
* chore(sunweg): formatting
* chore(sunweg): formating
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-28 13:53:32 +01:00
Lucas Mindêllo de Andrade
d4a7361bc6
Bump sunweg to 2.0.1 ( #105613 )
...
* chore(sunweg): minor requested changes
* test(sunweg): use of fixtures
* feat(sunweg): provide bad auth result on expired authentication
* chore(sunweg): bump version
* chore(sunweg): removed reauth
* chore(sunweg): removed features out of scope
* chore(sunweg): fixtures moved to conftest.py
* chore(sunweg): devicetype moved to const
* chore(sunweg): conftest comment
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-14 16:51:57 +01:00
Lucas Mindêllo de Andrade
f567bf6dfe
Sun WEG integration ( #88272 )
...
* feat(sunweg): initial support
* chore: removed commented out code
* chore: removed warning
* fix: set never_resets for total sensors
* test: some tests
* fix(sunweg): default plantid type
* fix(sunweg): return first plant id
* test(sunweg): improved code coverage
* chore(sunweg): missing FlowResult return type
* chore(sunweg): removed unused strings
* perf(sunweg): using only one api instance
* chore(sunweg): removed uneeded atribute
* refact(sunweg): small refactoring
* refact(sunweg): typing
* chore(sunweg): comments
* chore(sunweg): bump version
* chore(sunweg): bump lib version
* test(sunweg): different mocking and coverage
* test: fixed setup component parameter
* feat: dynamic metrics
* fix(sunweg): ruff
* fix(sunweg): mypy
* refact(sunweg): codereview suggestions
* chore(sunweg): removed unused string
* chore(sunweg): typehint and code formatting
2023-12-09 09:45:40 +01:00