ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::button Namespace Reference

Data Structures

class  ApplyButton
 Calls the codegen-generated Fn(this) on a press; the hub and any publish are baked into Fn. More...
 
class  Button
 Base class for all buttons. More...
 

Functions

 ESPHOME_LOG_TAG (TAG, "button")
 
void log_button (const char *tag, const char *prefix, const char *type, Button *obj)
 

Function Documentation

◆ ESPHOME_LOG_TAG()

esphome::button::ESPHOME_LOG_TAG ( TAG ,
"button"  )

◆ log_button()

void esphome::button::log_button ( const char * tag,
const char * prefix,
const char * type,
Button * obj )

Definition at line 9 of file button.cpp.