ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::ble_device_base::BLEAdvertiseDataTrigger Class Referencefinal

#include <automation.h>

Inheritance diagram for esphome::ble_device_base::BLEAdvertiseDataTrigger:
esphome::Trigger< const adv_data_t & > esphome::ble_device_base::ESPBTDeviceListener

Public Member Functions

template<typename Hub >
 BLEAdvertiseDataTrigger (Hub *parent, const AdvDataMatch *match)
 
bool parse_device (const ESPBTDevice &device) override
 
- Public Member Functions inherited from esphome::Trigger< const adv_data_t & >
void trigger (const Ts &...x) ESPHOME_ALWAYS_INLINE
 Inform the parent automation that the event has triggered.
 
void set_automation_parent (Automation< Ts... > *automation_parent)
 
void stop_action ()
 Stop any action connected to this trigger.
 
bool is_action_running ()
 Returns true if any action connected to this trigger is running.
 
- Public Member Functions inherited from esphome::ble_device_base::ESPBTDeviceListener
virtual void on_scan_end ()
 Called at the end of each scan duration period.
 
virtual void dump_child_config ()
 Called from the tracker's dump_config(); not dump_config() so Component listeners don't print twice.
 

Protected Attributes

const AdvDataMatch * match_
 
- Protected Attributes inherited from esphome::Trigger< const adv_data_t & >
Automation< Ts... > * automation_parent_
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::ble_device_base::ESPBTDeviceListener
 ~ESPBTDeviceListener ()=default
 

Detailed Description

Definition at line 69 of file automation.h.

Constructor & Destructor Documentation

◆ BLEAdvertiseDataTrigger()

template<typename Hub >
esphome::ble_device_base::BLEAdvertiseDataTrigger::BLEAdvertiseDataTrigger ( Hub * parent,
const AdvDataMatch * match )
inline

Definition at line 71 of file automation.h.

Member Function Documentation

◆ parse_device()

bool esphome::ble_device_base::BLEAdvertiseDataTrigger::parse_device ( const ESPBTDevice & device)
inlineoverridevirtual

Implements esphome::ble_device_base::ESPBTDeviceListener.

Definition at line 75 of file automation.h.

Field Documentation

◆ match_

const AdvDataMatch* esphome::ble_device_base::BLEAdvertiseDataTrigger::match_
protected

Definition at line 88 of file automation.h.


The documentation for this class was generated from the following file: