ESPHome 2025.9.0-dev
Loading...
Searching...
No Matches
esphome::ld24xx::SensorWithDedup< T > Class Template Reference

#include <ld24xx.h>

Public Member Functions

 SensorWithDedup (sensor::Sensor *sens)
 
void publish_state_if_not_dup (T state)
 
void publish_state_unknown ()
 

Data Fields

sensor::Sensorsens
 
Deduplicator< T > publish_dedup
 

Detailed Description

template<typename T>
class esphome::ld24xx::SensorWithDedup< T >

Definition at line 44 of file ld24xx.h.

Constructor & Destructor Documentation

◆ SensorWithDedup()

template<typename T >
esphome::ld24xx::SensorWithDedup< T >::SensorWithDedup ( sensor::Sensor * sens)
inline

Definition at line 46 of file ld24xx.h.

Member Function Documentation

◆ publish_state_if_not_dup()

template<typename T >
void esphome::ld24xx::SensorWithDedup< T >::publish_state_if_not_dup ( T state)
inline

Definition at line 48 of file ld24xx.h.

◆ publish_state_unknown()

template<typename T >
void esphome::ld24xx::SensorWithDedup< T >::publish_state_unknown ( )
inline

Definition at line 54 of file ld24xx.h.

Field Documentation

◆ publish_dedup

template<typename T >
Deduplicator<T> esphome::ld24xx::SensorWithDedup< T >::publish_dedup

Definition at line 61 of file ld24xx.h.

◆ sens

template<typename T >
sensor::Sensor* esphome::ld24xx::SensorWithDedup< T >::sens

Definition at line 60 of file ld24xx.h.


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