ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
esphome::output Namespace Reference

Data Structures

class  ApplyBinaryOutput
 Calls the codegen-generated Fn(this, index, state) on a state write; the hub is baked into Fn. More...
 
class  ApplyFloatOutput
 Calls the codegen-generated Fn(this, index, state) with the scaled, inverted level; the hub is baked into Fn. More...
 
class  BinaryOutput
 
class  FloatOutput
 Base class for all output components that can output a variable level, like PWM. More...
 
class  OutputLock
 
class  OutputSwitch
 

Functions

void press_output_button (button::Button *button, BinaryOutput *output, uint32_t duration)
 Turn the output on and off again after duration ms; a second press restarts the wait.
 
 ESPHOME_LOG_TAG (TAG, "output.float")
 
 ESPHOME_LOG_TAG (TAG, "output.lock")
 
 ESPHOME_LOG_TAG (TAG, "output.switch")
 

Function Documentation

◆ ESPHOME_LOG_TAG() [1/3]

esphome::output::ESPHOME_LOG_TAG ( TAG ,
"output.float"  )

◆ ESPHOME_LOG_TAG() [2/3]

esphome::output::ESPHOME_LOG_TAG ( TAG ,
"output.lock"  )

◆ ESPHOME_LOG_TAG() [3/3]

esphome::output::ESPHOME_LOG_TAG ( TAG ,
"output.switch"  )

◆ press_output_button()

void esphome::output::press_output_button ( button::Button * button,
BinaryOutput * output,
uint32_t duration )

Turn the output on and off again after duration ms; a second press restarts the wait.

Definition at line 6 of file output_button.cpp.