Commit graph

18 commits

Author SHA1 Message Date
Hessel
535e2b81ce
Change BiDirectional Prefix (#101764) 2023-10-10 21:23:02 +02:00
Jan-Philipp Benecke
71ddb282d2
Address late review from wallbox coordinator move (#101771)
Address late wallbox review comment
2023-10-10 20:02:14 +02:00
Jan-Philipp Benecke
e25cf7cbab
Move wallbox coordinator to its own file (#101577) 2023-10-07 11:56:59 +02:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum (#97101) 2023-07-23 23:19:24 +02:00
Hessel
c68149c75b
Fix Wallbox price unit (#82420)
* Change Symbol to Currency code in test

* change unit to currency/kWh

* f string
2022-11-23 11:25:21 +01:00
Hessel
f7badfe441
Add wallbox Energy Price (#82039)
fixes undefined
2022-11-18 17:36:38 +01:00
simeon-simsoft
5b32eea3d0
Add support for bidirectional chargers to Wallbox integration (#74313)
* Add support for the Quasar bidirectional charger to the Wallbox integration, including ability to control charger while discharging, set a negative charge rate and monitor discharged amount

* Make code more generic in order to support other bidirectional models in the future

* Updates to files to comply with HA formatting rules

* Change const file to fix black check failure

* Remove unnecessay loop in number entity
2022-07-09 20:41:39 +02:00
Erwin Oldenkamp
4e6d753d2f
Add support for the locked status but car is connected (#73551) 2022-06-20 10:10:10 +02:00
hesselonline
c973e5d0d2
Add Switch platform to Wallbox (#70584)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-04-26 23:27:43 +02:00
hesselonline
84666ce05e
Rename wallbox non-config CONF_ variables (#69737) 2022-04-19 08:44:25 +02:00
hesselonline
ef14ae85c8
Fix Wallbox charger status (#68708)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-06 12:05:50 +02:00
hesselonline
de3d402930
Add Lock platform to wallbox (#68414)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-03-23 19:50:28 +01:00
Erwin Oldenkamp
39b26e5ff7
Add device to Wallbox integration (#63011) 2022-01-04 15:46:57 +01:00
hesselonline
bfb0d8dd19
Split wallbox sensor type and number type (#58807) 2021-11-02 11:11:46 +01:00
Marc Mueller
733280e169
Use EntityDescription - wallbox (#58690) 2021-10-30 17:33:07 -05:00
hesselonline
6d6cb03848
Add Number platform to Wallbox (#52786)
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2021-10-27 12:53:14 -05:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants (#53243) 2021-07-20 20:06:23 +02:00
hesselonline
c497c0eadd
Add wallbox integration (#48082)
* Wallbox component added

* resolved mergeconflicts from upstream

* fixed an incorrect removal in CODEOWNERS file

* fixes for pullrequest automatic test

* clean up code after PR tests

* fixed strings.json

* fix config_flow error > wallbox

* fixed some formatting issues

* fix pylint warnings

* fixed error in number.py > set value

* pylint warnings fixed

* some more pylint fixes

* isort fixes

* fix unused_import pylint

* remove tests

* remove test requirements

* config flow test

* test errors resolved

* test file formatting

* isort on test file

* sensor test

* isort on test

* isort test const

* remove not working sensor test

* remove test const

* add switch, number and lock test

* docstrings for test classes

* sort test_number, create test_sensor

* additional tests

* fix test error

* reduced PR to 1 component

* newline in const

* ignore test coverage -> dependency on external device (wallbox)

* do not ignore config_flow

* add test for validate_input

* remove obsolete import

* additional test config flow

* change test sensor

* docstring

* add additional test for exceptions

* fix test_config

* more tests

* fix test_config_flow

* fixed http error test

* catch connectionerror and introduce testing for this error

* remove .coveragefile

* change comment

* Update homeassistant/components/wallbox/__init__.py

review suggestion by janiversen

Co-authored-by: jan iversen <jancasacondor@gmail.com>

* Update homeassistant/components/wallbox/__init__.py

review suggestion by janiversen (format only)

Co-authored-by: jan iversen <jancasacondor@gmail.com>

* Processed review comments, include more testing for sensor component

* Isolated the async_add_executor_job to make the solution more async

* add a config flow test

* Revert "add a config flow test"

This reverts commit 9c1af82fff.

* Revert "Isolated the async_add_executor_job to make the solution more async"

This reverts commit 0bf034c331.

* Make component more async and add config flow tests

* Changes based on review comments

* made _ methods in WallboxHub for the 'non-async' call to the API and try-catch. Stored the wallbox in the class.

* moved the coordinator to __init__ and pass it as part of the WallboxHub class

* removed obsolete function in __init__

* removed CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL

* fixed spelling and imports on test files

* did isort on component files

Co-authored-by: jan iversen <jancasacondor@gmail.com>
2021-05-24 13:08:24 +02:00