Files
esphome/tests/components/xiaomi_cgpr1/validate.bk72xx-ard.yaml
T

25 lines
880 B
YAML

# 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
binary_sensor:
# Explicit ble_hub_id: pins the neutral binding as a declared key.
- platform: xiaomi_cgpr1
ble_hub_id: ble_tracker_hub
name: CGPR1 Motion
mac_address: "12:34:56:12:34:56"
bindkey: 48403ebe2d385db8d0c187f81e62cb64
battery_level:
name: CGPR1 Battery Level
idle_time:
name: CGPR1 Idle Time
illuminance:
name: CGPR1 Illuminance
# No ble_hub_id: exercises the generated binding real configs use.
- platform: xiaomi_cgpr1
name: BK CGPR1 Implicit Motion
mac_address: "12:34:56:12:34:57"
bindkey: 48403ebe2d385db8d0c187f81e62cb64