1
0

BLE cleanup

disable discovery
 add missing devices
 rename toothbrush entity
This commit is contained in:
Przemek Grondek 2022-04-21 21:48:04 +02:00
parent 82fd8c644d
commit d959578160
2 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,7 @@
- type: powered - type: powered
platform: device platform: device
device_id: 1f92942c1507740a4ecfae30fdb1889e device_id: 1f92942c1507740a4ecfae30fdb1889e
entity_id: binary_sensor.ble_toothbrush_50338b1ba19f entity_id: binary_sensor.ble_toothbrush_toothbrush
domain: binary_sensor domain: binary_sensor
action: action:
- service: script.bathroom_mirror_lights_on - service: script.bathroom_mirror_lights_on
@ -16,7 +16,7 @@
mode: single mode: single
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.ble_toothbrush_50338b1ba19f entity_id: binary_sensor.ble_toothbrush_toothbrush
from: unavailable from: unavailable
to: 'off' to: 'off'
action: action:

View File

@ -307,11 +307,12 @@ ble_monitor:
log_spikes: False log_spikes: False
use_median: False use_median: False
active_scan: False active_scan: False
# hci_interface: 0
bt_interface: 'DC:A6:32:F6:63:C3' bt_interface: 'DC:A6:32:F6:63:C3'
report_unknown: False report_unknown: False
discovery: True discovery: False
devices: devices:
- name: 'Toothbrush'
mac: '50:33:8b:1b:a1:9f'
- name: 'Bedroom sensor [BLE]' - name: 'Bedroom sensor [BLE]'
mac: '58:2D:34:3B:67:B0' mac: '58:2D:34:3B:67:B0'
- name: 'Filament Sensor' - name: 'Filament Sensor'
@ -336,6 +337,8 @@ ble_monitor:
mac: 'C4:7C:8D:6C:59:D5' mac: 'C4:7C:8D:6C:59:D5'
- name: 'Weight Scale' - name: 'Weight Scale'
mac: 'C8:47:8C:D9:6F:96' mac: 'C8:47:8C:D9:6F:96'
- name: 'Freezer'
mac: 'A4:C1:38:67:C8:76'
sensor: sensor:
- platform: systemmonitor - platform: systemmonitor