Richard Kroegel
2fe19c04b9
Bump bimmer_connected to 0.16.2 ( #124651 )
2024-08-26 13:57:25 -10:00
Richard Kroegel
745eea9a29
Bump bimmer_connected to 0.16.1 ( #122699 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-07-29 12:02:47 +02:00
Richard Kroegel
99f01ac61e
Fix BMW remaining fuel device class ( #119172 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-07-15 09:23:05 +02:00
Richard Kroegel
131d9ec51b
Add BMW tire pressure sensors ( #120949 )
2024-07-06 18:20:01 +02:00
Richard Kroegel
48145c1a7d
Refactor BMW sensors and migrate unique_ids ( #121380 )
2024-07-06 17:34:20 +02:00
Richard Kroegel
324755b8f5
Separate BMW base entity into separate file ( #120830 )
...
* Refactor BMW base entity
* Update snapshots
* Changes from review
2024-07-05 16:08:27 +02:00
Richard Kroegel
43343ea44a
Adjust BMW enum sensors translations ( #118754 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-08 17:08:37 +02:00
Richard Kroegel
b04a65f4d1
Change BMW select and sensor enums to lowercase ( #118751 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-08 16:25:45 +02:00
Richard Kroegel
1eb13b48a2
Add tests for BMW binary_sensor and lock ( #118436 )
...
* BMW: Add tests for binary_sensor & lock
* Use entity_registry_enabled_by_default fixture
* Update tests/components/bmw_connected_drive/test_binary_sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Move fixtures to decorator
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Use fixture decorators if possible
* Fix rebase
* Spelling adjustments
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Use snapshot_platform helper
* Spelling
* Remove comment
---------
Co-authored-by: Richard <rikroe@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-06-04 15:08:15 +02:00
Richard Kroegel
7fb2802910
Allow per-sensor unit conversion on BMW sensors ( #110272 )
...
* Update BMW sensors to use device_class
* Test adjustments
* Trigger CI
* Remove unneeded cast
* Set suggested_display_precision to 0
* Rebase for climate_status
* Change charging_status to ENUM device class
* Add test for Enum translations
* Pin Enum sensor values
* Use snapshot_platform helper
* Remove translation tests
* Formatting
* Remove comment
* Use const.STATE_UNKOWN
* Fix typo
* Update strings
* Loop through Enum sensors
* Revert enum sensor changes
---------
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-04 09:06:23 +02:00
Richard Kroegel
60bcd27a47
Use snapshot_platform helper for BMW tests ( #118735 )
...
* Use snapshot_platform helper
* Remove comments
---------
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-03 19:46:04 +02:00
Richard Kroegel
10291b1ce8
Bump bimmer_connected to 0.15.3 ( #118179 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-05-27 11:01:22 +02:00
Richard Kroegel
0d0865e783
Bump bimmer_connected to 0.15.2 ( #116424 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-04-30 22:49:28 +02:00
brave0d
a99ecb024e
New BMW sensor for climate activity ( #110287 )
...
* add sensor with climate activity status
* Update strings.json
* use icon translation and is_available for sensor
* use enum with translations
* Return None if value is UNKNOWN
* fix getting the value: x.value
* fix getting the value: x instead of x.value
* Fix tests and pre-commit
---------
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-04-16 09:24:32 +02:00
Richard Kroegel
16fc935c87
Refactor BMW entity availability ( #110294 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-04-08 09:26:50 +02:00
Erik Montnemery
426f73b1f4
Add State.last_reported ( #113511 )
...
* Add State.last_reported
* Update tests
* Update test snapshots
* Call state_reported listeners when firing state_changed event
* Add tests
2024-03-20 21:05:07 +01:00
Joost Lekkerkerker
a8887d59ed
Add icon translations to BMW ( #111348 )
...
* Add icon translations to BMW
* Add icon translations to BMW
2024-02-28 13:05:27 +01:00
Richard Kroegel
2287c45afc
Bump bimmer-connected to 0.14.5 ( #104715 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-11-29 18:11:04 +01:00
Richard Kroegel
f61627ea08
Bump bimmer_connected to 0.14.1 ( #101789 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-10-11 13:46:02 +02:00
Richard Kroegel
bec36d3914
Add long-term statistics to BMW sensors ( #99506 )
...
* Add long-term statistics to BMW ConnectedDrive sensors
* Add sensor test snapshot
---------
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-09-02 14:44:28 -07:00
Richard Kroegel
021b14fc17
Refactor & enhance BMW tests ( #97895 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-08-30 11:45:09 +02:00
Richard Kroegel
74d02a1574
BMW: Remove deprecated refresh from cloud button ( #97864 )
...
* Remove deprecated refresh from cloud button
* Clean up strings.json
2023-08-05 22:28:24 +02:00
Richard Kroegel
f1a54a510c
Re-add "deactivate air conditioning" button to bmw_connected_drive ( #94765 )
2023-06-27 19:55:46 +02:00
rikroe
1ea202a5bc
Add charging switch to BMW Connected Drive ( #93737 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-05-29 23:48:13 +02:00
rikroe
f8f83906f8
Add climate on/off for supported BMW vehicles ( #92962 )
...
* Add switch platform
* Add tests
* Remove separate button
* Bump coverage
---------
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-05-23 15:21:29 +02:00
rikroe
defc23cc7c
Fix china login for bmw_connected_drive ( #93180 )
...
* Bump bimmer_connected to 0.13.5
* Fix snapshots after dependency bump
* Load gcid from config entry if available
* Add tests
---------
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-05-17 02:03:01 +02:00
rikroe
1028841690
Move BMW Target SoC to number platform ( #91081 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-04-29 17:41:34 +02:00
rikroe
565f311f5c
Add EV charging remote services for BMW/Mini ( #88759 )
...
* Add select for EV charging to bmw_connected_drive
* Use snapshot for select tests, split select_option tests
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Further adjustments from code review
---------
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-30 19:37:03 +02:00
rikroe
bec7bbeb92
Use SnapshotAssertion in bmw_connected_drive tests ( #90128 )
2023-03-26 16:57:19 +02:00