ESPHome  2024.10.0
Data Fields
esphome::sprinkler::SprinklerValve Struct Reference

#include <sprinkler.h>

Data Fields

SprinklerControllerNumberrun_duration_number
 
SprinklerControllerSwitchcontroller_switch
 
SprinklerControllerSwitchenable_switch
 
SprinklerSwitch valve_switch
 
uint32_t run_duration
 
optional< size_t > pump_switch_index
 
bool valve_cycle_complete
 
std::unique_ptr< ShutdownAction<> > valve_shutdown_action
 
std::unique_ptr< StartSingleValveAction<> > valve_resumeorstart_action
 
std::unique_ptr< Automation<> > valve_turn_off_automation
 
std::unique_ptr< Automation<> > valve_turn_on_automation
 

Detailed Description

Definition at line 88 of file sprinkler.h.

Field Documentation

◆ controller_switch

SprinklerControllerSwitch* esphome::sprinkler::SprinklerValve::controller_switch

Definition at line 90 of file sprinkler.h.

◆ enable_switch

SprinklerControllerSwitch* esphome::sprinkler::SprinklerValve::enable_switch

Definition at line 91 of file sprinkler.h.

◆ pump_switch_index

optional<size_t> esphome::sprinkler::SprinklerValve::pump_switch_index

Definition at line 94 of file sprinkler.h.

◆ run_duration

uint32_t esphome::sprinkler::SprinklerValve::run_duration

Definition at line 93 of file sprinkler.h.

◆ run_duration_number

SprinklerControllerNumber* esphome::sprinkler::SprinklerValve::run_duration_number

Definition at line 89 of file sprinkler.h.

◆ valve_cycle_complete

bool esphome::sprinkler::SprinklerValve::valve_cycle_complete

Definition at line 95 of file sprinkler.h.

◆ valve_resumeorstart_action

std::unique_ptr<StartSingleValveAction<> > esphome::sprinkler::SprinklerValve::valve_resumeorstart_action

Definition at line 97 of file sprinkler.h.

◆ valve_shutdown_action

std::unique_ptr<ShutdownAction<> > esphome::sprinkler::SprinklerValve::valve_shutdown_action

Definition at line 96 of file sprinkler.h.

◆ valve_switch

SprinklerSwitch esphome::sprinkler::SprinklerValve::valve_switch

Definition at line 92 of file sprinkler.h.

◆ valve_turn_off_automation

std::unique_ptr<Automation<> > esphome::sprinkler::SprinklerValve::valve_turn_off_automation

Definition at line 98 of file sprinkler.h.

◆ valve_turn_on_automation

std::unique_ptr<Automation<> > esphome::sprinkler::SprinklerValve::valve_turn_on_automation

Definition at line 99 of file sprinkler.h.


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