|
ESPHome 2025.12.0-dev
|
#include <automation.h>
Public Member Functions | |
| OnReceiveTrigger (std::array< uint8_t, ESP_NOW_ETH_ALEN > address) | |
| OnReceiveTrigger () | |
| bool | on_received (const ESPNowRecvInfo &info, const uint8_t *data, uint8_t size) override |
Public Member Functions inherited from esphome::Trigger< const ESPNowRecvInfo &, const uint8_t *, uint8_t > | |
| void | trigger (const Ts &...x) |
| 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::espnow::ESPNowReceivedPacketHandler | |
Protected Attributes | |
| bool | has_address_ {false} |
| const uint8_t * | address_ [ESP_NOW_ETH_ALEN] |
Protected Attributes inherited from esphome::Trigger< const ESPNowRecvInfo &, const uint8_t *, uint8_t > | |
| Automation< Ts... > * | automation_parent_ |
Definition at line 121 of file automation.h.
|
inlineexplicit |
Definition at line 124 of file automation.h.
|
inlineexplicit |
Definition at line 128 of file automation.h.
|
inlineoverridevirtual |
Implements esphome::espnow::ESPNowReceivedPacketHandler.
Definition at line 130 of file automation.h.
|
protected |
Definition at line 141 of file automation.h.
|
protected |
Definition at line 140 of file automation.h.