mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Bump airthings-ble to 0.6.0 (#108612)
This commit is contained in:
parent
b17b4c3350
commit
1b8c91dcb7
@ -40,10 +40,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
f"Could not find Airthings device with address {address}"
|
f"Could not find Airthings device with address {address}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
airthings = AirthingsBluetoothDeviceData(_LOGGER, elevation, is_metric)
|
||||||
|
|
||||||
async def _async_update_method() -> AirthingsDevice:
|
async def _async_update_method() -> AirthingsDevice:
|
||||||
"""Get data from Airthings BLE."""
|
"""Get data from Airthings BLE."""
|
||||||
ble_device = bluetooth.async_ble_device_from_address(hass, address)
|
ble_device = bluetooth.async_ble_device_from_address(hass, address)
|
||||||
airthings = AirthingsBluetoothDeviceData(_LOGGER, elevation, is_metric)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
data = await airthings.update_device(ble_device) # type: ignore[arg-type]
|
data = await airthings.update_device(ble_device) # type: ignore[arg-type]
|
||||||
|
@ -24,5 +24,5 @@
|
|||||||
"dependencies": ["bluetooth_adapters"],
|
"dependencies": ["bluetooth_adapters"],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/airthings_ble",
|
"documentation": "https://www.home-assistant.io/integrations/airthings_ble",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"requirements": ["airthings-ble==0.5.6-2"]
|
"requirements": ["airthings-ble==0.6.0"]
|
||||||
}
|
}
|
||||||
|
@ -404,7 +404,7 @@ aioymaps==1.2.2
|
|||||||
airly==1.1.0
|
airly==1.1.0
|
||||||
|
|
||||||
# homeassistant.components.airthings_ble
|
# homeassistant.components.airthings_ble
|
||||||
airthings-ble==0.5.6-2
|
airthings-ble==0.6.0
|
||||||
|
|
||||||
# homeassistant.components.airthings
|
# homeassistant.components.airthings
|
||||||
airthings-cloud==0.1.0
|
airthings-cloud==0.1.0
|
||||||
|
@ -377,7 +377,7 @@ aioymaps==1.2.2
|
|||||||
airly==1.1.0
|
airly==1.1.0
|
||||||
|
|
||||||
# homeassistant.components.airthings_ble
|
# homeassistant.components.airthings_ble
|
||||||
airthings-ble==0.5.6-2
|
airthings-ble==0.6.0
|
||||||
|
|
||||||
# homeassistant.components.airthings
|
# homeassistant.components.airthings
|
||||||
airthings-cloud==0.1.0
|
airthings-cloud==0.1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user