ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::binary_sensor Namespace Reference

Data Structures

class  AutorepeatFilter
 
struct  AutorepeatFilterTiming
 
class  BinarySensor
 Base class for all binary_sensor-type classes. More...
 
class  BinarySensorCondition
 
class  BinarySensorInitiallyOff
 
class  BinarySensorInvalidateAction
 
class  BinarySensorPublishAction
 
class  ClickTrigger
 
class  DelayedOffFilter
 
class  DelayedOnFilter
 
class  DelayedOnOffFilter
 
class  DoubleClickTrigger
 
class  Filter
 
class  InvertFilter
 
class  LambdaFilter
 
class  MultiClickTrigger
 
struct  MultiClickTriggerEvent
 
class  PressTrigger
 
class  ReleaseTrigger
 
class  SettleFilter
 
class  StateChangeTrigger
 
class  StatelessLambdaFilter
 Optimized lambda filter for stateless lambdas (no capture). More...
 
class  StateTrigger
 
class  TimeoutFilter
 

Functions

bool match_interval (uint32_t min_length, uint32_t max_length, uint32_t length)
 
void log_binary_sensor (const char *tag, const char *prefix, const char *type, BinarySensor *obj)
 

Variables

constexpr uint32_t MULTICLICK_TRIGGER_ID = 0
 
constexpr uint32_t MULTICLICK_COOLDOWN_ID = 1
 
constexpr uint32_t MULTICLICK_IS_VALID_ID = 2
 
constexpr uint32_t MULTICLICK_IS_NOT_VALID_ID = 3
 
constexpr uint32_t FILTER_TIMEOUT_ID = 0
 
constexpr uint32_t AUTOREPEAT_TIMING_ID = 0
 
constexpr uint32_t AUTOREPEAT_ON_OFF_ID = 1
 

Function Documentation

◆ log_binary_sensor()

void esphome::binary_sensor::log_binary_sensor ( const char * tag,
const char * prefix,
const char * type,
BinarySensor * obj )

Definition at line 11 of file binary_sensor.cpp.

◆ match_interval()

bool esphome::binary_sensor::match_interval ( uint32_t min_length,
uint32_t max_length,
uint32_t length )

Definition at line 121 of file automation.cpp.

Variable Documentation

◆ AUTOREPEAT_ON_OFF_ID

uint32_t esphome::binary_sensor::AUTOREPEAT_ON_OFF_ID = 1
constexpr

Definition at line 18 of file filter.cpp.

◆ AUTOREPEAT_TIMING_ID

uint32_t esphome::binary_sensor::AUTOREPEAT_TIMING_ID = 0
constexpr

Definition at line 17 of file filter.cpp.

◆ FILTER_TIMEOUT_ID

uint32_t esphome::binary_sensor::FILTER_TIMEOUT_ID = 0
constexpr

Definition at line 15 of file filter.cpp.

◆ MULTICLICK_COOLDOWN_ID

uint32_t esphome::binary_sensor::MULTICLICK_COOLDOWN_ID = 1
constexpr

Definition at line 12 of file automation.cpp.

◆ MULTICLICK_IS_NOT_VALID_ID

uint32_t esphome::binary_sensor::MULTICLICK_IS_NOT_VALID_ID = 3
constexpr

Definition at line 14 of file automation.cpp.

◆ MULTICLICK_IS_VALID_ID

uint32_t esphome::binary_sensor::MULTICLICK_IS_VALID_ID = 2
constexpr

Definition at line 13 of file automation.cpp.

◆ MULTICLICK_TRIGGER_ID

uint32_t esphome::binary_sensor::MULTICLICK_TRIGGER_ID = 0
constexpr

Definition at line 11 of file automation.cpp.