ESPHome 2026.8.0b4
Loading...
Searching...
No Matches
esphome::ble_device_base::ESPBTAdvertiseTrigger Class Referencefinal

#include <automation.h>

Inheritance diagram for esphome::ble_device_base::ESPBTAdvertiseTrigger:
esphome::Trigger< const ESPBTDevice & > esphome::ble_device_base::ESPBTDeviceListener

Public Member Functions

template<typename Hub >
 ESPBTAdvertiseTrigger (Hub *parent)
 
void set_addresses (std::initializer_list< uint64_t > addresses)
 
bool parse_device (const ESPBTDevice &device) override
 
- Public Member Functions inherited from esphome::Trigger< const ESPBTDevice & >
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 ~ESPBTDeviceListener ()=default
 
virtual void on_scan_end ()
 Called at the end of each scan duration period.
 

Protected Attributes

FixedVector< uint64_t > addresses_
 
- Protected Attributes inherited from esphome::Trigger< const ESPBTDevice & >
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 20 of file automation.h.

Constructor & Destructor Documentation

◆ ESPBTAdvertiseTrigger()

template<typename Hub >
esphome::ble_device_base::ESPBTAdvertiseTrigger::ESPBTAdvertiseTrigger ( Hub * parent)
inlineexplicit

Definition at line 22 of file automation.h.

Member Function Documentation

◆ parse_device()

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

Implements esphome::ble_device_base::ESPBTDeviceListener.

Definition at line 26 of file automation.h.

◆ set_addresses()

void esphome::ble_device_base::ESPBTAdvertiseTrigger::set_addresses ( std::initializer_list< uint64_t > addresses)
inline

Definition at line 24 of file automation.h.

Field Documentation

◆ addresses_

FixedVector<uint64_t> esphome::ble_device_base::ESPBTAdvertiseTrigger::addresses_
protected

Definition at line 36 of file automation.h.


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