ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::cover::CoverTraits Class Reference

#include <cover_traits.h>

Public Member Functions

 CoverTraits ()=default
 
bool get_is_assumed_state () const
 
void set_is_assumed_state (bool is_assumed_state)
 
bool get_supports_position () const
 
void set_supports_position (bool supports_position)
 
bool get_supports_tilt () const
 
void set_supports_tilt (bool supports_tilt)
 
bool get_supports_toggle () const
 
void set_supports_toggle (bool supports_toggle)
 
bool get_supports_stop () const
 
void set_supports_stop (bool supports_stop)
 

Protected Attributes

bool is_assumed_state_ {false}
 
bool supports_position_ {false}
 
bool supports_tilt_ {false}
 
bool supports_toggle_ {false}
 
bool supports_stop_ {false}
 

Detailed Description

Definition at line 6 of file cover_traits.h.

Constructor & Destructor Documentation

◆ CoverTraits()

esphome::cover::CoverTraits::CoverTraits ( )
default

Member Function Documentation

◆ get_is_assumed_state()

bool esphome::cover::CoverTraits::get_is_assumed_state ( ) const
inline

Definition at line 10 of file cover_traits.h.

◆ get_supports_position()

bool esphome::cover::CoverTraits::get_supports_position ( ) const
inline

Definition at line 12 of file cover_traits.h.

◆ get_supports_stop()

bool esphome::cover::CoverTraits::get_supports_stop ( ) const
inline

Definition at line 18 of file cover_traits.h.

◆ get_supports_tilt()

bool esphome::cover::CoverTraits::get_supports_tilt ( ) const
inline

Definition at line 14 of file cover_traits.h.

◆ get_supports_toggle()

bool esphome::cover::CoverTraits::get_supports_toggle ( ) const
inline

Definition at line 16 of file cover_traits.h.

◆ set_is_assumed_state()

void esphome::cover::CoverTraits::set_is_assumed_state ( bool  is_assumed_state)
inline

Definition at line 11 of file cover_traits.h.

◆ set_supports_position()

void esphome::cover::CoverTraits::set_supports_position ( bool  supports_position)
inline

Definition at line 13 of file cover_traits.h.

◆ set_supports_stop()

void esphome::cover::CoverTraits::set_supports_stop ( bool  supports_stop)
inline

Definition at line 19 of file cover_traits.h.

◆ set_supports_tilt()

void esphome::cover::CoverTraits::set_supports_tilt ( bool  supports_tilt)
inline

Definition at line 15 of file cover_traits.h.

◆ set_supports_toggle()

void esphome::cover::CoverTraits::set_supports_toggle ( bool  supports_toggle)
inline

Definition at line 17 of file cover_traits.h.

Field Documentation

◆ is_assumed_state_

bool esphome::cover::CoverTraits::is_assumed_state_ {false}
protected

Definition at line 22 of file cover_traits.h.

◆ supports_position_

bool esphome::cover::CoverTraits::supports_position_ {false}
protected

Definition at line 23 of file cover_traits.h.

◆ supports_stop_

bool esphome::cover::CoverTraits::supports_stop_ {false}
protected

Definition at line 26 of file cover_traits.h.

◆ supports_tilt_

bool esphome::cover::CoverTraits::supports_tilt_ {false}
protected

Definition at line 24 of file cover_traits.h.

◆ supports_toggle_

bool esphome::cover::CoverTraits::supports_toggle_ {false}
protected

Definition at line 25 of file cover_traits.h.


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