epenet
b1a777a95a
Move sunweg sensor definitions ( #125754 )
2024-09-12 08:05:40 +02:00
epenet
9bcc31a9fe
Use start_reauth helper method in integration tests (s) ( #124793 )
2024-08-28 16:49:05 +02:00
J. Nick Koston
f1ac33c246
Fix unmocked remote socket calls in sunweg tests ( #115546 )
...
Fix unmocked calls in sunweg tests
2024-04-13 16:36:33 -04:00
Joost Lekkerkerker
f3ba713289
Use FlowResultType enum in config flow tests N-Z ( #114682 )
...
Use FlowResultType enum in config flow tests
2024-04-03 09:53:20 +02:00
Joost Lekkerkerker
ee66f6ec8c
Use is in enum comparison in config flow tests P-T ( #114675 )
2024-04-02 11:21:50 -10:00
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
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Lucas Mindêllo de Andrade
089a3ab6d7
Bump sunweg to 2.1.1 ( #113767 )
2024-03-19 08:50:11 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
Erik Montnemery
6f392a3b43
Avoid mutating entity descriptions in sunweg tests ( #106024 )
2023-12-18 15:26:59 -10:00
Erik Montnemery
1d1cd6be57
Avoid mutating entity descriptions in sunweg ( #105982 )
2023-12-18 10:03:40 -10: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
Brett Adams
d54c36307a
Fix the ruff-format error ( #105376 )
2023-12-09 11:53:47 +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