Skip to content
Snippets Groups Projects
Unverified Commit fbe1f238 authored by Ståle Storø Hauknes's avatar Ståle Storø Hauknes Committed by GitHub
Browse files

Bump airthings-ble to 0.6.0 (#108612)

parent 883711fb
No related branches found
No related tags found
No related merge requests found
......@@ -40,10 +40,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
f"Could not find Airthings device with address {address}"
)
airthings = AirthingsBluetoothDeviceData(_LOGGER, elevation, is_metric)
async def _async_update_method() -> AirthingsDevice:
"""Get data from Airthings BLE."""
ble_device = bluetooth.async_ble_device_from_address(hass, address)
airthings = AirthingsBluetoothDeviceData(_LOGGER, elevation, is_metric)
try:
data = await airthings.update_device(ble_device) # type: ignore[arg-type]
......
......@@ -24,5 +24,5 @@
"dependencies": ["bluetooth_adapters"],
"documentation": "https://www.home-assistant.io/integrations/airthings_ble",
"iot_class": "local_polling",
"requirements": ["airthings-ble==0.5.6-2"]
"requirements": ["airthings-ble==0.6.0"]
}
......@@ -407,7 +407,7 @@ aioymaps==1.2.2
airly==1.1.0
# homeassistant.components.airthings_ble
airthings-ble==0.5.6-2
airthings-ble==0.6.0
# homeassistant.components.airthings
airthings-cloud==0.2.0
......
......@@ -380,7 +380,7 @@ aioymaps==1.2.2
airly==1.1.0
# homeassistant.components.airthings_ble
airthings-ble==0.5.6-2
airthings-ble==0.6.0
# homeassistant.components.airthings
airthings-cloud==0.2.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment