有专用外部组件:
# Example configuration entry
external_components:
- source: github://afarago/esphome_component_bthome
esp32_ble_tracker:
bthome_ble_receiver:
dump: unmatched
devices:
- mac_address: 11:22:33:44:55:55
name_prefix: BTHome TestDevice
expected_remote_passkey: 0x1234
dump: all
sensor:
- platform: bthome_ble_receiver
mac_address: 11:22:33:44:55:55
sensors:
- measurement_type: temperature
name: Temperature
- measurement_type: humidity
name: Humidity
- measurement_type: 0x02
name: Temperature_Second
accuracy_decimals: 2
unit_of_measurement: °C
- platform: bthome_ble_receiver
mac_address: 22:33:44:55:55:66
sensors:
- measurement_type: temperature
name: BTHome Garage Temperature
binary_sensor:
- platform: bthome_ble_receiver
mac_address: 11:22:33:44:55:55
name_prefix: BTHome Garage
sensors:
- measurement_type: opening
name: Opening
|