ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::lvgl::IdleTrigger Class Reference

#include <lvgl_esphome.h>

Inheritance diagram for esphome::lvgl::IdleTrigger:
esphome::Trigger<>

Public Member Functions

 IdleTrigger (LvglComponent *parent, TemplatableValue< uint32_t > timeout)
 
- Public Member Functions inherited from esphome::Trigger<>
void trigger (Ts... x)
 Inform the parent automation that the event has triggered. More...
 
void set_automation_parent (Automation< Ts... > *automation_parent)
 
void stop_action ()
 Stop any action connected to this trigger. More...
 
bool is_action_running ()
 Returns true if any action connected to this trigger is running. More...
 

Protected Attributes

TemplatableValue< uint32_t > timeout_
 
bool is_idle_ {}
 
- Protected Attributes inherited from esphome::Trigger<>
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 170 of file lvgl_esphome.h.

Constructor & Destructor Documentation

◆ IdleTrigger()

esphome::lvgl::IdleTrigger::IdleTrigger ( LvglComponent parent,
TemplatableValue< uint32_t >  timeout 
)
explicit

Definition at line 152 of file lvgl_esphome.cpp.

Field Documentation

◆ is_idle_

bool esphome::lvgl::IdleTrigger::is_idle_ {}
protected

Definition at line 176 of file lvgl_esphome.h.

◆ timeout_

TemplatableValue<uint32_t> esphome::lvgl::IdleTrigger::timeout_
protected

Definition at line 175 of file lvgl_esphome.h.


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