mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Bump bimmer_connected to 0.7.15 and fix bugs (#47066)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
This commit is contained in:
parent
56673f7edf
commit
9c67f83f4e
@ -122,7 +122,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
|||||||
|
|
||||||
def _update_all() -> None:
|
def _update_all() -> None:
|
||||||
"""Update all BMW accounts."""
|
"""Update all BMW accounts."""
|
||||||
for entry in hass.data[DOMAIN][DATA_ENTRIES].values():
|
for entry in hass.data[DOMAIN][DATA_ENTRIES].copy().values():
|
||||||
entry[CONF_ACCOUNT].update()
|
entry[CONF_ACCOUNT].update()
|
||||||
|
|
||||||
# Add update listener for config entry changes (options)
|
# Add update listener for config entry changes (options)
|
||||||
|
@ -42,12 +42,12 @@ class BMWDeviceTracker(BMWConnectedDriveBaseEntity, TrackerEntity):
|
|||||||
@property
|
@property
|
||||||
def latitude(self):
|
def latitude(self):
|
||||||
"""Return latitude value of the device."""
|
"""Return latitude value of the device."""
|
||||||
return self._location[0]
|
return self._location[0] if self._location else None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def longitude(self):
|
def longitude(self):
|
||||||
"""Return longitude value of the device."""
|
"""Return longitude value of the device."""
|
||||||
return self._location[1]
|
return self._location[1] if self._location else None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"domain": "bmw_connected_drive",
|
"domain": "bmw_connected_drive",
|
||||||
"name": "BMW Connected Drive",
|
"name": "BMW Connected Drive",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/bmw_connected_drive",
|
"documentation": "https://www.home-assistant.io/integrations/bmw_connected_drive",
|
||||||
"requirements": ["bimmer_connected==0.7.14"],
|
"requirements": ["bimmer_connected==0.7.15"],
|
||||||
"codeowners": ["@gerard33", "@rikroe"],
|
"codeowners": ["@gerard33", "@rikroe"],
|
||||||
"config_flow": true
|
"config_flow": true
|
||||||
}
|
}
|
||||||
|
@ -343,7 +343,7 @@ beautifulsoup4==4.9.3
|
|||||||
bellows==0.21.0
|
bellows==0.21.0
|
||||||
|
|
||||||
# homeassistant.components.bmw_connected_drive
|
# homeassistant.components.bmw_connected_drive
|
||||||
bimmer_connected==0.7.14
|
bimmer_connected==0.7.15
|
||||||
|
|
||||||
# homeassistant.components.bizkaibus
|
# homeassistant.components.bizkaibus
|
||||||
bizkaibus==0.1.1
|
bizkaibus==0.1.1
|
||||||
|
@ -196,7 +196,7 @@ base36==0.1.1
|
|||||||
bellows==0.21.0
|
bellows==0.21.0
|
||||||
|
|
||||||
# homeassistant.components.bmw_connected_drive
|
# homeassistant.components.bmw_connected_drive
|
||||||
bimmer_connected==0.7.14
|
bimmer_connected==0.7.15
|
||||||
|
|
||||||
# homeassistant.components.blebox
|
# homeassistant.components.blebox
|
||||||
blebox_uniapi==1.3.2
|
blebox_uniapi==1.3.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user