mirror of
https://github.com/home-assistant/core.git
synced 2026-05-28 03:06:30 +01:00
9315f3bdd9
* 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