Marc Mueller
077ca97ef8
Fix `local_partial_types` errors ( #86410 )
...
Fix local_partial_types errors
2023-01-23 10:29:11 +01:00
rikroe
1afb30344a
Add diagnostics to bmw_connected_drive ( #74871 )
...
* Add diagnostics to bmw_connected_drive
* Add tests for diagnostics
* Move get_fingerprints to library, bump bimmer_connected to 0.10.4
* Update bimmer_connected to 0.11.0
* Fix pytest
* Mock actual diagnostics HTTP calls
* Update tests for bimmer_connected 0.12.0
* Don't raise errors if vehicle is not found
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-01-11 01:09:45 +01:00
rikroe
5b8b6167ac
Bump bimmer_connected to 0.12.0 ( #85255 )
...
* Bump bimmer_connected to 0.12.0
* Fix mypy
* Remove not needed code
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-01-06 03:05:37 +01:00
Marc Mueller
1de41ab123
Improve DataUpdateCoordinator typing in integrations (1) ( #84655 )
2022-12-27 22:44:25 +01:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
epenet
2f19b56d5e
Use UnitOfVolume in bmw_connected_drive ( #84228 )
2022-12-19 12:12:48 +01:00
epenet
d72c28a135
Use UnitOfLength in integrations ( #84034 )
2022-12-15 12:42:53 +01:00
GitHub Action
f25017313a
[ci skip] Translation update
2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
GitHub Action
0d1f476bee
[ci skip] Translation update
2022-12-01 00:33:36 +00:00
epenet
5599ab6e4a
Use OptionsFlowWithConfigEntry in bmw connected drive ( #82904 )
2022-11-30 15:02:21 +01:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
GitHub Action
f3b3193f7a
[ci skip] Translation update
2022-11-25 00:24:19 +00:00
GitHub Action
3bea04e387
[ci skip] Translation update
2022-11-21 00:26:41 +00:00
epenet
b39ff4a020
Expose device_tracker base entities ( #81135 )
...
* Expose TrackerEntity in device_tracker
* Also expose BaseTrackerEntity
* Add ScannerEntity
* Revert BaseTrackerEntity
2022-10-28 15:21:06 +02:00
rikroe
c474db6617
Add EMISSION_CHECK to BMW Connected Drive ( #80819 )
2022-10-24 19:38:15 +02:00
epenet
54587e96d4
Drop unused unit_system from bmw ( #80176 )
2022-10-12 17:03:36 +02:00
rikroe
da4ceea647
Bump bimmer_connected to 0.10.4 ( #78910 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-09-22 08:53:29 +02:00
rikroe
cfa838b27a
Small refactoring of BMW lock entity ( #77451 )
...
* Refactor entity_description
* Fix default attrs not always shown
* Simplify further
Co-authored-by: @emontnemery
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-31 13:19:47 +02:00
rikroe
516dc3372f
Migrate BMW Connected Drive to new entity naming ( #77045 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-26 11:04:09 +02:00
rikroe
4eb4146e29
Remove unneeded charging_status attribute in bmw_connected_drive binary sensor ( #74921 )
...
* Use `charging_status.value` in attribute for BMW binary sensor
* Remove `charging_status` attribute
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-19 08:36:46 +02:00
rikroe
cb2799bc37
Fix displayed units for BMW Connected Drive ( #76613 )
...
* Fix displayed units
* Add tests for unit conversion
* Streamline test config entry init
* Refactor test to pytest fixture
* Fix renamed mock
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-16 21:36:33 +02:00
rikroe
4239757c2c
Bump bimmer_connected to 0.10.2 ( #76751 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-15 13:55:23 +02:00
GitHub Action
bec8e544f4
[ci skip] Translation update
2022-08-14 00:25:47 +00:00
rikroe
a70252a243
Log not allowed attributes only once in BMW binary sensors ( #76708 )
...
* Log not allowed keys only once
* Fix spelling
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-08-13 16:05:23 +02:00
rikroe
c9c84639ad
Remove `charging_time_label` sensor in BMW Connected Drive ( #76616 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-13 10:30:39 +02:00
rikroe
0293db343f
Allow only known attrs for BMW binary sensors ( #76663 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-12 09:45:28 -04:00
rikroe
a86397cc10
Fix non-awaited coroutine in BMW notify ( #76664 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-08-12 09:19:16 -04:00
Marc Mueller
1a8ccfeb56
Use device_tracker SourceType enum [a-g] ( #75963 )
2022-07-31 15:51:04 +02:00
rikroe
5687150786
Add state to CheckControlMessages in bmw_connected_drive ( #75802 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-07-27 10:01:09 +02:00
rikroe
686449cef6
Force `_attr_native_value` to metric in bmw_connected_drive ( #75225 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-07-16 17:00:42 +02:00
rikroe
c52d4c64bf
Bump bimmer_connected to 0.10.1 ( #75287 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-07-16 16:57:17 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
rikroe
f78d209f93
Bump bimmer_connected to 0.9.6 ( #73977 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-25 10:26:57 -07:00
rikroe
b4cc9367cf
Bump bimmer_connected to 0.9.5 ( #73888 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-23 12:18:01 +02:00
rikroe
54591b8ca1
BMW Connected Drive: Handle HTTP 429 issues better ( #73675 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-22 14:24:16 +02:00
rikroe
91df2db9e0
Bump bimmer_connected to 0.9.4 ( #72973 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-03 09:59:10 -10:00
Joakim Plate
8910d265d6
Keep track of a context for each listener ( #72702 )
...
* Remove async_remove_listener
This avoids the ambuigity as to what happens if same callback is added multiple times.
* Keep track of a context for each listener
This allow a update coordinator to adapt what data to request on update from the backing service based on which entities are enabled.
* Clone list before calling callbacks
The callbacks can end up unregistering and modifying the dict while iterating.
* Only yield actual values
* Add a test for update context
* Factor out iteration of _listeners to helper
* Verify context is passed to coordinator
* Switch to Any as type instead of object
* Remove function which use was dropped earliers
The use was removed in 8bee25c938
2022-06-03 13:55:57 +02:00
rikroe
8d72891d83
Bump bimmer_connected to 0.9.3 ( #72677 )
...
Bump bimmer_connected to 0.9.3, fix retrieved units
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-05-30 08:52:58 +02:00
rikroe
233f086853
Bump bimmer_connected to 0.9.2 ( #72653 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-05-28 20:55:50 +03:00
rikroe
cd769a55c2
Update BMW connected drive to async ( #71827 )
...
* Change BMW connected drive to async
* Fix coordinator exceptions, fix tests
* Fix using deprecated property
* Write HA state directly
* Remove code that cannnot throw Exceptions from try/except
* Use public async_write_ha_state
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix login using refresh_token if token expired
* MyPy fixes
* Fix pytest, bump dependency
* Replace OptionFlow listener with explicit refresh
* Remove uneeded async_get_entry
* Update test to include change on OptionsFlow
* Bump bimmer_connected to 0.9.0
* Migrate renamed entitity unique_ids
* Don't replace async_migrate_entries, add tests
* Rename existing_entry to existing_entry_id
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests
* Import full EntityRegistry
* Fix comment
* Increase timeout to 60s
* Rely on library timeout
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-24 21:44:18 +02:00
GitHub Action
3a13ffcf13
[ci skip] Translation update
2022-05-19 00:26:11 +00:00
Marc Mueller
e935e1b5b4
Update bmw_connected_drive coordinator typing ( #70872 )
2022-04-27 14:44:50 +02:00
rikroe
eccc8bf79d
Bump bimmer_connected to 0.8.12, fix china login ( #70374 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-22 19:52:37 -10:00
rikroe
80653463bf
Add DataUpdateCoordinator to bmw_connected_drive ( #67003 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-04-20 22:13:09 -10:00
rikroe
f456996e12
BMW Connected Drive: Remove deprecated services ( #69808 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-04-13 20:26:06 +02:00
rikroe
8b2774e082
Fix converting (value, unit) tuples if value is None ( #69802 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-04-10 19:40:03 +03:00
GitHub Action
c64b4d997b
[ci skip] Translation update
2022-03-13 00:18:58 +00:00
GitHub Action
2957f4ce85
[ci skip] Translation update
2022-03-07 00:18:40 +00:00
rikroe
a12870081e
Remove deprecated yaml config from bmw_connected_drive ( #66965 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-02-24 13:04:21 +01:00