Commit graph

4 commits

Author SHA1 Message Date
epenet
9315f3bdd9
Use EntityDescription - renault (#55061)
* Cleanup sensor.py

* Add EntityDescription

* Add checks for state attributes

* Fix pylint

* Simplify checks

* Add icon checks

* Update data type

* Use mixin for required keys, and review class initialisation

* Add constraint to TypeVar("T")

* Enable lambda for icon handling

* Enable lambda for value handling

* Enable lambda for value handling
2021-08-25 23:15:49 +02:00
epenet
faec82ae8f
Add binary sensor platform to Renault integration (#54750)
* Add binary sensor platform

* Add tests

* Simplify code

* Adjust descriptions

* Adjust tests

* Make "fuel" tests more explicit

* Updates for device registry checks
2021-08-19 09:27:43 +02:00
epenet
a204d7f807
Renault code quality improvements (#53680) 2021-08-16 13:49:04 +02:00
epenet
8d84edd3b7
Add renault integration (#39605) 2021-07-28 12:41:11 -07:00