mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Fix keymitt_ble discovery (#79809)
* Fix keymitt_ble discovery * Update tests * Up version * Up version keymitt_ble * Up version keymitt_ble
This commit is contained in:
parent
c6f28f6d59
commit
e2b7e79ccb
@ -5,17 +5,14 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"bluetooth": [
|
"bluetooth": [
|
||||||
{
|
{
|
||||||
"service_uuid": "00001831-0000-1000-8000-00805f9b34fb"
|
"service_uuid": "0000abcd-0000-1000-8000-00805f9b34fb"
|
||||||
},
|
|
||||||
{
|
|
||||||
"service_data_uuid": "00001831-0000-1000-8000-00805f9b34fb"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"local_name": "mib*"
|
"local_name": "mib*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"codeowners": ["@spycle"],
|
"codeowners": ["@spycle"],
|
||||||
"requirements": ["PyMicroBot==0.0.6"],
|
"requirements": ["PyMicroBot==0.0.8"],
|
||||||
"iot_class": "assumed_state",
|
"iot_class": "assumed_state",
|
||||||
"dependencies": ["bluetooth"],
|
"dependencies": ["bluetooth"],
|
||||||
"loggers": ["keymitt_ble"]
|
"loggers": ["keymitt_ble"]
|
||||||
|
@ -177,11 +177,7 @@ BLUETOOTH: list[dict[str, bool | str | int | list[int]]] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"domain": "keymitt_ble",
|
"domain": "keymitt_ble",
|
||||||
"service_uuid": "00001831-0000-1000-8000-00805f9b34fb",
|
"service_uuid": "0000abcd-0000-1000-8000-00805f9b34fb",
|
||||||
},
|
|
||||||
{
|
|
||||||
"domain": "keymitt_ble",
|
|
||||||
"service_data_uuid": "00001831-0000-1000-8000-00805f9b34fb",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"domain": "keymitt_ble",
|
"domain": "keymitt_ble",
|
||||||
|
@ -23,7 +23,7 @@ PyFlick==0.0.2
|
|||||||
PyMVGLive==1.1.4
|
PyMVGLive==1.1.4
|
||||||
|
|
||||||
# homeassistant.components.keymitt_ble
|
# homeassistant.components.keymitt_ble
|
||||||
PyMicroBot==0.0.6
|
PyMicroBot==0.0.8
|
||||||
|
|
||||||
# homeassistant.components.mobile_app
|
# homeassistant.components.mobile_app
|
||||||
# homeassistant.components.owntracks
|
# homeassistant.components.owntracks
|
||||||
|
@ -19,7 +19,7 @@ HAP-python==4.5.0
|
|||||||
PyFlick==0.0.2
|
PyFlick==0.0.2
|
||||||
|
|
||||||
# homeassistant.components.keymitt_ble
|
# homeassistant.components.keymitt_ble
|
||||||
PyMicroBot==0.0.6
|
PyMicroBot==0.0.8
|
||||||
|
|
||||||
# homeassistant.components.mobile_app
|
# homeassistant.components.mobile_app
|
||||||
# homeassistant.components.owntracks
|
# homeassistant.components.owntracks
|
||||||
|
@ -32,7 +32,7 @@ def patch_async_setup_entry(return_value=True):
|
|||||||
|
|
||||||
SERVICE_INFO = BluetoothServiceInfoBleak(
|
SERVICE_INFO = BluetoothServiceInfoBleak(
|
||||||
name="mibp",
|
name="mibp",
|
||||||
service_uuids=["00001831-0000-1000-8000-00805f9b34fb"],
|
service_uuids=["0000abcd-0000-1000-8000-00805f9b34fb"],
|
||||||
address="aa:bb:cc:dd:ee:ff",
|
address="aa:bb:cc:dd:ee:ff",
|
||||||
manufacturer_data={},
|
manufacturer_data={},
|
||||||
service_data={},
|
service_data={},
|
||||||
@ -41,7 +41,7 @@ SERVICE_INFO = BluetoothServiceInfoBleak(
|
|||||||
advertisement=AdvertisementData(
|
advertisement=AdvertisementData(
|
||||||
local_name="mibp",
|
local_name="mibp",
|
||||||
manufacturer_data={},
|
manufacturer_data={},
|
||||||
service_uuids=["00001831-0000-1000-8000-00805f9b34fb"],
|
service_uuids=["0000abcd-0000-1000-8000-00805f9b34fb"],
|
||||||
),
|
),
|
||||||
device=BLEDevice("aa:bb:cc:dd:ee:ff", "mibp"),
|
device=BLEDevice("aa:bb:cc:dd:ee:ff", "mibp"),
|
||||||
time=0,
|
time=0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user