# Config-only: the CI base board (generic-bk7252, BLE 4.2) cannot compile the
# BLE 5.x tracker, so this fixture proves validation (schema + neutral binding)
# on a non-esp32 platform; codegen and compilation are not exercised here.
bk72xx_ble_tracker:
  id: ble_tracker_hub

sensor:
  # Explicit ble_hub_id: pins the neutral binding as a declared key.
  - platform: xiaomi_xmwsdj04mmc
    ble_hub_id: ble_tracker_hub
    mac_address: 84:B4:DB:5D:A3:8F
    bindkey: d8ca2ed09bb5541dc8f045ca360b00ea
    temperature:
      name: Xiaomi XMWSDJ04MMC Temperature
    humidity:
      name: Xiaomi XMWSDJ04MMC Humidity
    battery_level:
      name: Xiaomi XMWSDJ04MMC Battery Level
  # No ble_hub_id: exercises the generated binding real configs use.
  - platform: xiaomi_xmwsdj04mmc
    mac_address: 84:B4:DB:5D:A3:90
    bindkey: d8ca2ed09bb5541dc8f045ca360b00ea
    temperature:
      name: BK Xiaomi XMWSDJ04MMC Implicit Temperature
