|
ESPHome 2025.12.0-dev
|
#include <template_output.h>
Public Member Functions | |
| Trigger< bool > * | get_trigger () const |
Public Member Functions inherited from esphome::output::BinaryOutput | |
| void | set_inverted (bool inverted) |
| Set the inversion state of this binary output. | |
| void | set_power_supply (power_supply::PowerSupply *power_supply) |
| Use this to connect up a power supply to this output. | |
| virtual void | set_state (bool state) |
| Enable or disable this binary output. | |
| virtual void | turn_on () |
| Enable this binary output. | |
| virtual void | turn_off () |
| Disable this binary output. | |
| bool | is_inverted () const |
| Return whether this binary output is inverted. | |
Protected Member Functions | |
| void | write_state (bool state) override |
Protected Member Functions inherited from esphome::output::BinaryOutput | |
Protected Attributes | |
| Trigger< bool > * | trigger_ = new Trigger<bool>() |
Protected Attributes inherited from esphome::output::BinaryOutput | |
| bool | inverted_ {false} |
| power_supply::PowerSupplyRequester | power_ {} |
Definition at line 10 of file template_output.h.
|
inline |
Definition at line 12 of file template_output.h.
|
inlineoverrideprotectedvirtual |
Implements esphome::output::BinaryOutput.
Definition at line 15 of file template_output.h.
Definition at line 17 of file template_output.h.