ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
esphome::sprinkler::SprinklerValve Struct Reference

#include <sprinkler.h>

Data Fields

SprinklerControllerNumberrun_duration_number
 
SprinklerControllerSwitchcontroller_switch
 
SprinklerControllerSwitchenable_switch
 
switch_::Switchvalve_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 58 of file sprinkler.h.

Field Documentation

◆ controller_switch

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

Definition at line 60 of file sprinkler.h.

◆ enable_switch

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

Definition at line 61 of file sprinkler.h.

◆ pump_switch_index

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

Definition at line 64 of file sprinkler.h.

◆ run_duration

uint32_t esphome::sprinkler::SprinklerValve::run_duration

Definition at line 63 of file sprinkler.h.

◆ run_duration_number

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

Definition at line 59 of file sprinkler.h.

◆ valve_cycle_complete

bool esphome::sprinkler::SprinklerValve::valve_cycle_complete

Definition at line 65 of file sprinkler.h.

◆ valve_resumeorstart_action

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

Definition at line 67 of file sprinkler.h.

◆ valve_shutdown_action

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

Definition at line 66 of file sprinkler.h.

◆ valve_switch

switch_::Switch* esphome::sprinkler::SprinklerValve::valve_switch

Definition at line 62 of file sprinkler.h.

◆ valve_turn_off_automation

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

Definition at line 68 of file sprinkler.h.

◆ valve_turn_on_automation

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

Definition at line 69 of file sprinkler.h.


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