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

25 lines
890 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
sensor:
# Explicit ble_hub_id: pins the neutral binding as a declared key.
- platform: xiaomi_cgd1
ble_hub_id: ble_tracker_hub
mac_address: A4:C1:38:D1:61:7D
bindkey: c99d2313182473b38001086febf781bd
temperature:
name: Xiaomi CGD1 Temperature
humidity:
name: Xiaomi CGD1 Humidity
battery_level:
name: Xiaomi CGD1 Battery Level
# No ble_hub_id: exercises the generated binding real configs use.
- platform: xiaomi_cgd1
mac_address: A4:C1:38:D1:61:7E
bindkey: c99d2313182473b38001086febf781bd
temperature:
name: BK Xiaomi CGD1 Implicit Temperature