From c06e569682aa60b949f272c127a3a43e3abbb363 Mon Sep 17 00:00:00 2001 From: Greg Whiteley Date: Thu, 25 Jul 2024 14:40:41 +1000 Subject: [PATCH] [emerald_ble] add test for adding ble_presence --- tests/test-emerald-ble.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/test-emerald-ble.yaml b/tests/test-emerald-ble.yaml index 5d839094cba4..38ca32296c72 100644 --- a/tests/test-emerald-ble.yaml +++ b/tests/test-emerald-ble.yaml @@ -62,3 +62,19 @@ sensor: pairing_code: 012345 pulses_per_kwh: 3200 time_id: homeassistant_time # daily energy still works without a time_id, but recommended to include one to properly handle daylight savings, etc. + +# Old versions of this external_component were conflicting with ble_presence +# due to upstream mismatches +binary_sensor: + - platform: ble_presence + mac_address: 11:22:33:44:55:66 + min_rssi: -75 + name: "Fitbit" + timeout: 120sec + + - platform: ble_presence + ibeacon_uuid: "53abcacc-d7e4-44bb-bd8b-4817d6a03461" + ibeacon_minor: 1 + ibeacon_major: 100 + name: "Phone" + timeout: 150sec