Diogo Gomes
|
822273a6a3
|
Add support for V2C Trydan 2.1.7 (#117147)
* Support for firmware 2.1.7
* add device ID as unique_id
* add device ID as unique_id
* add test device id as unique_id
* backward compatibility
* move outside try
* Sensor return type
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* not needed
* make slave error enum state
* fix enum
* Update homeassistant/components/v2c/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/v2c/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/v2c/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* simplify tests
* fix misspellings from upstream library
* add sensor tests
* just enough coverage for enum sensor
* Refactor V2C tests (#117264)
* Refactor V2C tests
* fix rebase issues
* ruff
* review
* fix https://github.com/home-assistant/core/issues/117296
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
|
2024-05-30 20:42:48 +02:00 |
|