epenet
73d0124c98
Use entity name translations in Renault ( #90697 )
2023-04-03 18:20:11 +02:00
epenet
bf5f7c53d8
Move mock_setup_entry to conftest ( #88484 )
2023-03-06 11:31:50 +01:00
rodriguestiago0
bef5fde832
Add stop charge button to renault integration ( #88003 )
...
* Added service to start/stop charge
* Remove comment
* Fixed service
* removed service for start/stop charge
* Remove version
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Format
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Revert change
* Fix lint
* Add tests
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-28 10:28:44 +01:00
epenet
0a80ac19bc
Add type hints to integration tests (part 18) ( #88174 )
2023-02-17 18:45:48 +01:00
epenet
a13535b0c7
Bump renault-api to 0.1.12 ( #87773 )
...
fix https://github.com/hacf-fr/renault-api/pull/789
2023-02-09 16:55:02 +01:00
Franck Nijhof
330e1c6cbb
Clean up unnecessary registry mocks from integration tests ( #87763 )
2023-02-09 10:43:45 +01: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
Franck Nijhof
a79885ceaf
Enable Ruff SIM117 ( #86783 )
2023-01-27 11:52:49 +01:00
epenet
1918f21fb1
Raise HomeAssistantError in Renault ( #86071 )
2023-01-17 11:44:18 +01:00
epenet
f7d69ee325
Remove deprecated Renault service ( #86070 )
2023-01-17 10:28:33 +01:00
Michael
72d3fa6d89
Replace the usage of unit constants by enumerations in Tests [o-r] ( #85936 )
2023-01-15 14:50:24 +01:00
epenet
6af07aa348
Improve renault tests ( #85065 )
2023-01-03 17:32:10 +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
7bc2712142
Adjust root-import in tests ( #78761 )
...
* Adjust root-import in tests
* Adjust diagnostics
* Adjust button
* Adjust select
* Adjust device_tracker
* Adjust camera
* Adjust humidifier
* Adjust media_source
* Adjust update
* Adjust siren
* Adjust number
* Adjust alarm_control_panel
* Adjust notify
* Adjust sensor
* Adjust switch
* Revert anthemav
* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
epenet
00dd27ef1b
Apply hass-relative-import to tests (i-r) ( #78732 )
2022-09-19 09:46:59 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02: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
c3dc936b54
Cleanup Renault tests ( #67030 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-22 14:21:38 +01:00
epenet
d49029e9fc
Add door and lock status to Renault integration ( #66698 )
...
* Add coordinator for lock status
* Add fixture for lock status
* Add lock status binary sensor
* Add to test constants
* Adjust conftest
* Fix inverted state
* Add door status
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-21 20:07:43 +01: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
486c068111
Allow None on Renault binary sensors ( #65997 )
...
* Enable None on renault binary sensors
* Adjust tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-07 15:06:40 +02:00
epenet
8234625d30
Use Domain not Platform on test service calls ( #65508 )
...
* Adjust atag
* adjust broadlink
* Adjust onewire
* Adjust plex
* Adjust renault
* Adjust tasmota
* Adjust zha
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:16:35 +01:00
epenet
d706a7bbde
Update Renault to 0.1.7 ( #65076 )
...
* Update Renault to 0.1.7
* Adjust tests accordingly
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-27 20:19:28 +01:00
epenet
aa9ccc7dfb
Add coordinator data to Renault diagnostics ( #64783 )
...
* Add coordinator data to renault diagnostics
* Adjust tests
* Adjust tests
* Add GPS coordinates to redacted information
2022-01-24 11:15:57 +02:00
Paulus Schoutsen
520ba0a82e
Introduce new redact helper ( #64579 )
2022-01-20 23:02:47 +01:00
epenet
9c11b0aa89
Add diagnostics to Renault integration ( #64531 )
...
* Add diagnostics to Renault
* Add diagnostic tests
* Add device diagnostics
* Include vehicle information in main diag
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 21:32:28 +01:00
Ville Skyttä
5bf67cac66
Use RegistryEntryDisabler ( #60436 )
2021-12-15 23:25:40 +02:00
epenet
75ec937359
Use new Platform enum in Renault ( #60903 )
...
* Use Platform enum in Renault
* Use Platform enum in Renault tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 09:28:04 -08: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
1e5c767158
Add button entities to Renault ( #59383 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 15:50:43 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
epenet
29c95a0b34
Use constants in renault tests ( #58406 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-25 09:42:01 -04:00
epenet
001a452bb7
Update naming scheme for Renault entities ( #57922 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 19:46:02 +02:00
epenet
a421c524c1
Use pytest fixtures on Renault tests ( #57955 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-18 13:27:44 +02: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
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
epenet
0d842a8f01
Adjust charging_power unit ( #56167 )
2021-09-15 07:54:56 +02:00
epenet
0749e045bb
Add reauth to Renault config flow ( #55547 )
...
* Add reauth flow to async_setup_entry
* Add reauth flow to config_flow
* Add reauth tests
* Split reauth/reauth_confirm
* unindent code
* Add entry_id and unique_id to reauth flow testing
* Use description_placeholders for username
* fix typo
2021-09-04 02:17:24 +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
bcf97cb308
Add device tracker platform to Renault integration ( #54745 )
2021-09-01 13:10:48 +02:00
epenet
02b7356596
Add services to Renault integration ( #54820 )
...
* Add services
* Add tests
* Cleanup async
* Fix pylint
* Update services.yaml
* Add extra schema validation
* Rename constants
* Simplify code
* Move constants
* Fix pylint
* Cleanup constants
* Drop charge_set_mode as moved to select platform
* Only register the services if no config entry has registered them yet
* Replace VIN with device selector to select vehicle
* Update logging
* Adjust type checking
* Use a shared base SERVICE_VEHICLE_SCHEMA
* Add selectors for ac_start (temperature/when)
* Add object selector for charge_set_schedules service
2021-09-01 11:23:54 +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
faec82ae8f
Add binary sensor platform to Renault integration ( #54750 )
...
* Add binary sensor platform
* Add tests
* Simplify code
* Adjust descriptions
* Adjust tests
* Make "fuel" tests more explicit
* Updates for device registry checks
2021-08-19 09:27:43 +02:00
epenet
16cb50bddf
Ensure device entry in Renault integration ( #54797 )
...
* Ensure device registry is set even when there are no entities
* Fix isort
* Use async_get for accessing registry
2021-08-18 12:44:35 +02:00