tmenguy
3e70342265
Fix renault plug state ( #125421 )
...
* Added PlugState 3, that is coming with renault-api 0.2.7, it fixes #124682 HA ticket
* Added PlugState 3, that is coming with renault-api 0.2.7, it fixes #124682 HA ticket
2024-09-07 12:38:59 +02:00
epenet
a440783208
Store runtime data in entry in renault ( #116454 )
2024-04-30 17:39:03 +02:00
Joost Lekkerkerker
85bc72f9f1
Remove entity description mixin in Renault ( #112925 )
...
* Remove entity description mixin in Renault
* Update homeassistant/components/renault/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/renault/button.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-03-10 17:27:47 +01:00
Marc Mueller
a033574ee2
Add empty line after module docstring [r] ( #112703 )
2024-03-08 15:05:07 +01:00
Joost Lekkerkerker
2db0da3915
Add icon translations to Renault ( #112205 )
...
* Add icon translations to Renault
* Add icon translations to Renault
2024-03-04 15:46:14 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
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
Joost Lekkerkerker
84979f8e92
Use device class naming in Renault ( #96038 )
2023-07-07 10:34:11 +02:00
epenet
584066b809
Rename renault coordinator and base entity ( #90760 )
...
Refactor renault coordinator and base entity
2023-04-04 14:38:52 +02:00
epenet
73d0124c98
Use entity name translations in Renault ( #90697 )
2023-04-03 18:20:11 +02:00
epenet
2433fc2bab
Fix volume state class in renault ( #87280 )
2023-02-03 09:01:25 -05:00
epenet
7643f98d20
Fix invalid state class in renault ( #87135 )
2023-02-02 10:38:21 +01:00
epenet
ba043c9ebb
Use UnitOfTemperature in integrations (p-s) ( #84308 )
2022-12-20 18:47:27 +01:00
epenet
55a5e17cf2
Use UnitOfTime in integrations (h-s) ( #84289 )
2022-12-20 13:21:14 +01:00
epenet
ebdf9a8658
Use UnitOfEnergy in integrations (o-z) ( #84221 )
2022-12-19 10:58:37 +01:00
epenet
d72c28a135
Use UnitOfLength in integrations ( #84034 )
2022-12-15 12:42:53 +01:00
epenet
3edb0969de
Use UnitOfPower in integrations [h-r] ( #83815 )
2022-12-12 11:41:58 +01:00
epenet
456c5515c8
Use UnitOfVolume in integrations ( #83646 )
2022-12-10 12:43:13 +01:00
epenet
7f345e7672
Add entity translations to Renault ( #83392 )
2022-12-08 23:48:24 +01:00
Franck Nijhof
6c74809400
Remove unused device class from Renault select ( #83330 )
...
* Remove unused device class from Renault select
* Fix tests
* More
2022-12-06 11:27:07 +01:00
epenet
466365c8de
Fix Renault charging power sensor ( #81412 )
2022-11-02 18:07:51 +01:00
epenet
1b8bed936c
Use new DISTANCE and VOLUME device classes in Renault ( #77488 )
2022-09-28 10:46:24 +02:00
epenet
d208bd461d
Migrate Renault to new entity naming style ( #74709 )
2022-07-09 19:12:19 +02:00
Marc Mueller
830cc278d3
Improve CoordinatorEntity
typing ( #68441 )
2022-03-21 10:22:30 +01:00
epenet
419e683526
Add Remote Engine Start status to Renault integration ( #67028 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-23 08:14:58 -08:00
epenet
86ab500afd
Add Renault hvac sensors ( #65993 )
...
* Add hvac sensors to renault
* Adjust fixtures
* Adjust tests
* Use icon_fn
* Use lambda
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-08 22:02:45 +01:00
epenet
cd9962dfa0
Use device and state class enum for Renault ( #60768 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:40:56 +01:00
epenet
28ff1b9d9e
Use native date value in Renault sensors ( #59900 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-18 16:15:54 +01:00
epenet
1e5c767158
Add button entities to Renault ( #59383 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 15:50:43 +01:00
epenet
6881ab58d1
Add renault last activity sensors ( #57750 )
...
* Add battery and location last_activity sensors
* Drop state attributes
* Drop ATTR_LAST_UPDATE
* Adjust tests
* Mark new sensors as disabled_default
* Add default_disabled attribute
* Add context managers
* Adjust tests for disabled entities
2021-10-15 16:27:12 +02:00
Marc Mueller
565a9fea6b
Import Callable from collections.abc (2) ( #56776 )
2021-09-29 14:06:51 +02:00
epenet
0d842a8f01
Adjust charging_power unit ( #56167 )
2021-09-15 07:54:56 +02:00
epenet
f8ec85686a
Add select platform to Renault integration ( #55494 )
...
* Add select platform to Renault integration
* Fix pylint
2021-09-01 14:44:10 +02:00
epenet
1849eae0ff
Renault code quality improvements ( #55454 )
2021-08-31 11:06:54 +02:00
epenet
adab367f0e
Renault code quality improvements ( #55313 )
...
* Use constants
* Drop entity_class for binary_sensor
* Move data property from RenaultDataEntity to RenaultSensor
* Update function description
2021-08-27 12:12:09 +02:00
epenet
9ba504cd78
Address late review for Renault integration ( #55230 )
...
* Add type hints
* Fix isort
* tweaks to state attributes
* Move lambdas to regular functions
* Split CHECK_ATTRIBUTES into DYNAMIC_ATTRIBUTES and FIXED_ATTRIBUTES
* Clarify tests
* Fix typo
2021-08-27 07:22:23 +02:00
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
a204d7f807
Renault code quality improvements ( #53680 )
2021-08-16 13:49:04 +02:00
Erik Montnemery
87e7a8fb5f
Move temperature conversions to sensor base class - new integrations ( #54623 )
...
* Move temperature conversions to sensor base class
* Tweaks
* Update pvpc_hourly_pricing
* Fix flipr sensor
* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
epenet
8d84edd3b7
Add renault integration ( #39605 )
2021-07-28 12:41:11 -07:00