diff --git a/homeassistant/components/tilt_ble/manifest.json b/homeassistant/components/tilt_ble/manifest.json index 898807e1bec..b201628a7f5 100644 --- a/homeassistant/components/tilt_ble/manifest.json +++ b/homeassistant/components/tilt_ble/manifest.json @@ -5,7 +5,8 @@ "documentation": "https://www.home-assistant.io/integrations/tilt_ble", "bluetooth": [ { - "manufacturer_id": 76 + "manufacturer_id": 76, + "manufacturer_data_start": [2, 21, 164, 149, 187] } ], "requirements": ["tilt-ble==0.2.3"], diff --git a/homeassistant/generated/bluetooth.py b/homeassistant/generated/bluetooth.py index f3f789f9829..a97f50f2e5f 100644 --- a/homeassistant/generated/bluetooth.py +++ b/homeassistant/generated/bluetooth.py @@ -281,6 +281,13 @@ BLUETOOTH: list[dict[str, bool | str | int | list[int]]] = [ { "domain": "tilt_ble", "manufacturer_id": 76, + "manufacturer_data_start": [ + 2, + 21, + 164, + 149, + 187, + ], }, { "domain": "xiaomi_ble", diff --git a/tests/components/tilt_ble/test_sensor.py b/tests/components/tilt_ble/test_sensor.py index 28454034864..19412a7692c 100644 --- a/tests/components/tilt_ble/test_sensor.py +++ b/tests/components/tilt_ble/test_sensor.py @@ -27,7 +27,9 @@ async def test_sensors(hass: HomeAssistant): assert len(hass.states.async_all()) == 0 inject_bluetooth_service_info(hass, TILT_GREEN_SERVICE_INFO) await hass.async_block_till_done() - assert len(hass.states.async_all()) == 2 + assert ( + len(hass.states.async_all()) >= 2 + ) # may trigger ibeacon integration as well since tilt uses ibeacon temp_sensor = hass.states.get("sensor.tilt_green_temperature") assert temp_sensor is not None