Passive BLE Monitor integration (Xiaomi Mijia BLE MiBeacon monitor)

Thanks! I have the MCCGQ02HL in the Mi Home app now.

1.7.0 seems to be last version working with my devices running pvvx version (all of them are using it - I can’t test with the original firmware). All 1.7.1, 1.7.2 (beta or not) or 1.8.0 beta don’t get any value. Reverting to 1.7.0 and all is fine again.
I’m seeing that exception in the core log :

2021-04-25 15:43:11 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/ble_monitor/sensor.py", line 176, in async_run
    sensors = await async_add_sensor(mac, sensortype, firmware)
  File "/config/custom_components/ble_monitor/sensor.py", line 138, in async_add_sensor
    if self.batt_entities and (v_i != 9) and "Xiaomi (MiBeacon)" not in firmware:
TypeError: argument of type 'NoneType' is not iterable

Thanks for reporting!. Fixed this issue in 1.7.3. New release has been released right now.

Thanks. Updated to 1.7.3 and it’s working great

There is now a new thread for this custom component.