Skip to content

Commit

Permalink
[emerald_ble] add test for adding ble_presence
Browse files Browse the repository at this point in the history
  • Loading branch information
whitty committed Jul 25, 2024
1 parent f84d871 commit 2a5c7f5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/test-emerald-ble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,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

0 comments on commit 2a5c7f5

Please sign in to comment.