Commit Graph

22 Commits (b3f7f379df235bcd7ebdd2b039932c98e2dff937)

Author SHA1 Message Date
Bernardus Jansen d0b1ac6918
Tesla wall connector add sensors (#117769) 2024-05-21 09:30:24 +02:00
Sid 0d66d298ec
Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
epenet 9204ccfa17
Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02: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
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
Marc Mueller 87165c0d6e
Add empty line after module docstring [tests t-z] (#112712) 2024-03-08 14:44:56 +01:00
J. Nick Koston 334c177e67
Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector (#110607)
* Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector

dhcp returns addresses in lowercase without :

* Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector

dhcp returns addresses in lowercase without :
2024-02-14 17:22:09 -05:00
Paul Bottein 8038d833e8
Add device class to tesla wall connector session energy (#109333) 2024-02-01 22:28:02 +01:00
Paul Bottein c8bfb288a3
Add readable state for tesla wall connector (#107909)
* Add readable state for tesla wall connector

* Add test

* Display raw sensor by default

* Use none instead of unknown

* Remove old state from tests

* Rename raw state to status code

* Test unknown

* Update homeassistant/components/tesla_wall_connector/strings.json

Co-authored-by: Franck Nijhof <git@frenck.dev>

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-01-31 17:22:45 +01:00
Mandar Patil 60fbb8b698
Add session energy sensor for Tesla Wall Connector (#102635)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-31 11:00:04 +01:00
Josh Pettersen 961a1c4d00
Change the suggested energy units to kWh (#109184)
* Change the suggested energy units to kWh since the practical value is pretty large.

* Fix unit tests
2024-01-30 23:40:05 -05:00
epenet 88cfbf6a34
Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
epenet 278050a73f
Add type hints to integration tests (t-z) (#87707) 2023-02-08 19:10:53 +01:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
einarhauks dced4d4542
Display energy in wh instead of kWh (#61169) 2021-12-07 11:33:24 -08:00
epenet a3cccb50c7
Use dataclass properties in tesla_wall_connector discovery (#60741)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:39:43 +01:00
einarhauks 5c4422dc72
Remove power sensor from Tesla Wall Connector (#60775)
Add voltage and current sensors for each phase
2021-12-01 19:21:56 +01:00
einarhauks a6ec646f98
Tesla wall connector config flow refactor continued (#60774) 2021-12-01 18:18:42 +01:00
einarhauks e7f00c2c4f
Refactor Tesla wall connector config flow (#60755) 2021-12-01 16:07:24 +01:00
einarhauks 7ece86ee8d
Add sensors to Tesla Wall Connector Integration (#60507) 2021-11-29 06:05:14 -10:00
einarhauks 4d345e0665
Add Tesla Wall Connector integration (#60000) 2021-11-28 07:41:01 -10:00