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
GitHub Action
102ae9f0e3
[ci skip] Translation update
2022-02-22 00:17:23 +00:00
GitHub Action
f921856f5f
[ci skip] Translation update
2022-02-21 00:17:31 +00:00
rikroe
8c96f1457d
Bump bimmer_connected to 0.8.11 ( #66951 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-02-20 19:17:08 +02:00
GitHub Action
c4cc6ca0ba
[ci skip] Translation update
2022-02-20 00:20:09 +00:00
GitHub Action
208671418e
[ci skip] Translation update
2022-02-16 00:14:09 +00:00
GitHub Action
ad0cb4831e
[ci skip] Translation update
2022-02-14 00:15:30 +00:00
GitHub Action
fb96c31a27
[ci skip] Translation update
2022-02-09 00:23:56 +00:00
GitHub Action
256ad084c5
[ci skip] Translation update
2022-02-03 00:14:18 +00:00
GitHub Action
0be8060b69
[ci skip] Translation update
2022-02-01 00:18:49 +00:00
GitHub Action
ca7d4234e1
[ci skip] Translation update
2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee
[ci skip] Translation update
2022-01-30 00:14:21 +00:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
rikroe
2e25213101
Add GPS direction to BMW ConnectedDrive device_tracker ( #63744 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-01-24 16:26:03 +01:00
rikroe
08132eb922
Bump bimmer_connected to 0.8.10 ( #64314 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-01-17 19:30:35 +01:00
Josh Soref
08ea6d1709
spelling: components/bmw_connected_drive ( #64236 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:41:05 +01:00
Marc Mueller
4d3f70ad05
Use Platform enum ( #63577 )
2022-01-09 07:57:51 +01:00
rikroe
e9dec5d03a
Add button entities to bmw_connected_drive ( #63136 )
...
Co-authored-by: Gerard <gerard33@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-01-06 12:05:25 +01:00
rikroe
986b60e527
Replace charging_time_remaining with charging_end_time in bmw_connected_drive ( #60942 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-22 12:52:01 +01:00
rikroe
f40870b4d7
Round imperial values to two decimals in bmw_connected_drive ( #62531 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-22 12:27:36 +01:00
GitHub Action
cceedf766a
[ci skip] Translation update
2021-12-22 00:14:51 +00:00
rikroe
aaac1d4c5a
Bump bimmer_connected to 0.8.7 ( #62435 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-20 23:25:26 +01:00
GitHub Action
d4f8a7c056
[ci skip] Translation update
2021-12-17 00:14:01 +00:00
epenet
a8d0a54553
Use new DeviceClass enums in bmw ( #61321 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 08:28:08 +01:00
rikroe
380c1a4be9
Fix BMW Connected Drive ( #60938 )
...
* Bump bimmer_connected to 0.8.5
* Always update HA states after service execution
* Fix BMW device tracker & vehicle_finder service
* Add charging_end_time sensor
* Fix pylint & pytest
* Remove unneeded DEFAULT_OPTION
* Revert adding charging_end_time & state_attributes
* Don't delete option data for CONF_USE_LOCATION
* Remove stale string
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-05 11:20:40 +01:00
Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] ( #60908 )
...
* Use platform enum (1) [A-D]
* Fix imports
* Fix tests
* Use Platform even in tests
2021-12-03 08:51:30 -08:00
GitHub Action
42fff989d1
[ci skip] Translation update
2021-12-03 00:13:00 +00:00
GitHub Action
96313bbbe0
[ci skip] Translation update
2021-11-27 00:12:17 +00:00
GitHub Action
d3c020325b
[ci skip] Translation update
2021-11-25 00:13:33 +00:00
rikroe
301ef0f636
Fix BMW ConnectedDrive, update to My BMW API ( #59881 )
...
* Fix BMW ConnectedDrive, update to My BMW API
* Use const device classes
* Implement native_value via EntityDescription
* Use device class const, reomve device_class from charging_status
* Cleanup
* Remove max_range_electric
* Revert removing sensor name & unique_id
* Add region china again, update bimmer_connected
* Update to bimmer_connected==0.8.2
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-11-24 23:18:45 +01:00
GitHub Action
9e606abb0c
[ci skip] Translation update
2021-11-23 00:13:54 +00:00
GitHub Action
e98977fb49
[ci skip] Translation update
2021-11-21 00:13:51 +00:00
GitHub Action
72b0eb719e
[ci skip] Translation update
2021-11-20 00:12:27 +00:00