ESPHome 2026.4.0-dev
Loading...
Searching...
No Matches
esphome::TriggerOnFalseForwarder Struct Reference

Callback forwarder that triggers an Automation<> only when the bool arg is false. More...

#include <automation.h>

Public Member Functions

void operator() (bool state) const
 

Data Fields

Automationautomation
 

Detailed Description

Callback forwarder that triggers an Automation<> only when the bool arg is false.

Must stay pointer-sized to fit inline in Callback::ctx_ without heap allocation.

Definition at line 518 of file automation.h.

Member Function Documentation

◆ operator()()

void esphome::TriggerOnFalseForwarder::operator() ( bool state) const
inline

Definition at line 520 of file automation.h.

Field Documentation

◆ automation

Automation* esphome::TriggerOnFalseForwarder::automation

Definition at line 519 of file automation.h.


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