mirror of
https://github.com/esphome/esphome.git
synced 2026-10-13 17:52:51 +00:00
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: J. Nick Koston <nick@koston.org>
15 lines
407 B
YAML
15 lines
407 B
YAML
esp32_ble_tracker:
|
|
id: ble_tracker_hub
|
|
|
|
binary_sensor:
|
|
# Explicit ble_hub_id: pins the neutral binding as a declared key.
|
|
- platform: xiaomi_mccgq02hl
|
|
ble_hub_id: ble_tracker_hub
|
|
name: Mi Door Sensor 2
|
|
mac_address: E4:AA:EC:01:02:03
|
|
bindkey: "48403ebe2d385db8d0c187f81e62cb64"
|
|
light:
|
|
name: Mi Door Sensor 2 Light
|
|
battery_level:
|
|
name: Mi Door Sensor 2 Battery Level
|