Update led-ble to 1.0.0 for bleak 0.19 (#80403)

* Update led-ble for bleak 0.19

* bump version
This commit is contained in:
J. Nick Koston 2022-10-16 02:12:52 -10:00 committed by GitHub
parent 86c6caabb2
commit 29e110d416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

@ -43,7 +43,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
change: bluetooth.BluetoothChange,
) -> None:
"""Update from a ble callback."""
led_ble.set_ble_device(service_info.device)
led_ble.set_ble_device_and_advertisement_data(
service_info.device, service_info.advertisement
)
entry.async_on_unload(
bluetooth.async_register_callback(

View file

@ -3,7 +3,7 @@
"name": "LED BLE",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/ble_ble",
"requirements": ["led-ble==0.10.1"],
"requirements": ["led-ble==1.0.0"],
"dependencies": ["bluetooth"],
"codeowners": ["@bdraco"],
"bluetooth": [

View file

@ -991,7 +991,7 @@ lakeside==0.12
laundrify_aio==1.1.2
# homeassistant.components.led_ble
led-ble==0.10.1
led-ble==1.0.0
# homeassistant.components.foscam
libpyfoscam==1.0

View file

@ -732,7 +732,7 @@ lacrosse-view==0.0.9
laundrify_aio==1.1.2
# homeassistant.components.led_ble
led-ble==0.10.1
led-ble==1.0.0
# homeassistant.components.foscam
libpyfoscam==1.0