mirror of
https://github.com/home-assistant/core.git
synced 2026-11-17 11:12:20 -04:00
* Fix default states and add device_class. Car data is initialised to zero, which means that graphs have an ugly drop to zero in them when HA is restarted. We should report "None" when the state is unknown. We need to use availability to signal whether binary_sensors have sensible data or not. We can remove the custom icons and use the defaults provided by using appropriate device_class. * Make isort happy. * Explicitly return None * Remove feature from bugfix PR.