Find a file
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
.devcontainer Update .devcontainer.json structure (#96537) 2023-07-20 13:11:43 +02:00
.github Create pytest output artifact [ci] (#98106) 2023-08-14 10:38:53 +02:00
.vscode Add scaffolds to vscode tasks (#92015) 2023-05-21 21:29:33 +02:00
docs Update featured integrations screenshot (#95473) 2023-06-28 21:36:46 -04:00
homeassistant Add device_class to Renault charging remaining time (#98393) 2023-08-16 09:42:38 +02:00
machine Add Home Assistant Green (#98171) 2023-08-10 15:00:43 +02:00
pylint Migrate backported StrEnum to built-in StrEnum (#97101) 2023-07-23 23:19:24 +02:00
rootfs Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02:00
script Bump protobuf to 4.24.0 (#98468) 2023-08-15 18:52:18 -05:00
tests Add device_class to Renault charging remaining time (#98393) 2023-08-16 09:42:38 +02:00
.core_files.yaml Make changes in modbus trigger a full CI run (#98055) 2023-08-08 18:49:56 +02:00
.coveragerc Add number platform & battery setpoint entities to Enphase integration (#98427) 2023-08-15 13:08:11 -05:00
.dockerignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.gitattributes Ensure .pcm binary files do not have line endings changed (#91881) 2023-04-22 22:22:30 -04:00
.gitignore Create pytest output artifact [ci] (#98106) 2023-08-14 10:38:53 +02:00
.hadolint.yaml
.pre-commit-config.yaml Use mirror to run black with pre-commit (#95605) 2023-08-03 13:21:07 +02:00
.prettierignore Add tests to Lidarr (#79610) 2023-03-28 16:49:32 +02:00
.readthedocs.yml
.strict-typing Alexa strict type hints (#97485) 2023-08-08 17:15:25 +02:00
.yamllint Add filters to climate and light service descriptions (#86162) 2023-03-16 15:59:51 +01:00
build.yaml Update Home Assistant base image to 2023.07.0 (#97103) 2023-07-23 15:27:03 -05:00
CLA.md
CODE_OF_CONDUCT.md Update URLs forwarding to HA blog posts (#91698) 2023-04-20 20:55:13 +02:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
CODEOWNERS ipma: remove abmantis from codeowners (#98304) 2023-08-14 19:36:58 +02:00
CONTRIBUTING.md
Dockerfile Remove legacy pip resolver (#92124) 2023-04-27 22:39:29 +02:00
Dockerfile.dev Bump python devcontainer (#94540) 2023-06-14 11:38:47 +02:00
LICENSE.md
MANIFEST.in
mypy.ini Update mypy to 1.5.0 (#98179) 2023-08-11 13:13:04 +02:00
pyproject.toml Update attrs to 23.1.0 (#98385) 2023-08-14 15:50:43 +02:00
README.rst Update URL in readme (#94282) 2023-06-09 09:24:53 +02:00
requirements.txt Update attrs to 23.1.0 (#98385) 2023-08-14 15:50:43 +02:00
requirements_all.txt Bump aiolyric to 1.1.0 (#98113) 2023-08-16 08:15:28 +02:00
requirements_docs.txt
requirements_test.txt Add types-beautifulsoup4 dependency (#98377) 2023-08-14 11:50:14 +02:00
requirements_test_all.txt Bump aiolyric to 1.1.0 (#98113) 2023-08-16 08:15:28 +02:00
requirements_test_pre_commit.txt Update ruff to v0.0.280 (#97102) 2023-07-23 22:00:26 +02:00

Home Assistant |Chat Status|
=================================================================================

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Check out `home-assistant.io <https://home-assistant.io>`__ for `a
demo <https://demo.home-assistant.io>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-integrations|

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/architecture_index/>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/creating_component_index/>`__.

If you run into issues while using Home Assistant or during development
of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://www.home-assistant.io/join-chat/
.. |screenshot-states| image:: https://raw.githubusercontent.com/home-assistant/core/master/docs/screenshots.png
   :target: https://demo.home-assistant.io
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/