core/homeassistant/components/renault
Emma Vanbrabant 8efb9dad7e
Add device_class to Renault charging remaining time (#98393)
* Add device_class on charging remaining time

Set `device_class to `duration` on the `charging_remaining_time` entity in the Renault integration.

I had some issues showing this property on my dashboard, and setting this fixed it. The recommendation to open an issue against the original integration in these kinds of cases came from [here](https://community.home-assistant.io/t/how-to-format-a-card-to-show-hours-instead-of-seconds/425473/7).

* Update test const to add duration

* fix other cars

* Update test_sensor.ambr

* add duration in ambr
2023-08-16 09:42:38 +02:00
..
__init__.py
binary_sensor.py
button.py
config_flow.py
const.py
coordinator.py
device_tracker.py
diagnostics.py
entity.py
manifest.json
renault_hub.py
renault_vehicle.py
select.py
sensor.py Add device_class to Renault charging remaining time (#98393) 2023-08-16 09:42:38 +02:00
services.py
services.yaml
strings.json