ESPHome  1.14.3
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)
 

Protected Attributes

bool is_assumed_state_ {false}
 
bool supports_position_ {false}
 
bool supports_tilt_ {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_tilt()

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

Definition at line 14 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_tilt()

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

Definition at line 15 of file cover_traits.h.

Field Documentation

◆ is_assumed_state_

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

Definition at line 18 of file cover_traits.h.

◆ supports_position_

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

Definition at line 19 of file cover_traits.h.

◆ supports_tilt_

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

Definition at line 20 of file cover_traits.h.


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