#include <sprinkler.h>
Definition at line 47 of file sprinkler.h.
◆ SprinklerSwitch() [1/3]
esphome::sprinkler::SprinklerSwitch::SprinklerSwitch |
( |
| ) |
|
◆ SprinklerSwitch() [2/3]
esphome::sprinkler::SprinklerSwitch::SprinklerSwitch |
( |
switch_::Switch * |
sprinkler_switch | ) |
|
◆ SprinklerSwitch() [3/3]
◆ is_latching_valve()
bool esphome::sprinkler::SprinklerSwitch::is_latching_valve |
( |
| ) |
|
◆ loop()
void esphome::sprinkler::SprinklerSwitch::loop |
( |
| ) |
|
◆ off_switch()
◆ on_switch()
◆ pulse_duration()
uint32_t esphome::sprinkler::SprinklerSwitch::pulse_duration |
( |
| ) |
|
|
inline |
◆ set_off_switch()
void esphome::sprinkler::SprinklerSwitch::set_off_switch |
( |
switch_::Switch * |
off_switch | ) |
|
|
inline |
◆ set_on_switch()
void esphome::sprinkler::SprinklerSwitch::set_on_switch |
( |
switch_::Switch * |
on_switch | ) |
|
|
inline |
◆ set_pulse_duration()
void esphome::sprinkler::SprinklerSwitch::set_pulse_duration |
( |
uint32_t |
pulse_duration | ) |
|
|
inline |
◆ state()
bool esphome::sprinkler::SprinklerSwitch::state |
( |
| ) |
|
◆ sync_valve_state()
void esphome::sprinkler::SprinklerSwitch::sync_valve_state |
( |
bool |
latch_state | ) |
|
◆ turn_off()
void esphome::sprinkler::SprinklerSwitch::turn_off |
( |
| ) |
|
◆ turn_on()
void esphome::sprinkler::SprinklerSwitch::turn_on |
( |
| ) |
|
◆ off_switch_
switch_::Switch* esphome::sprinkler::SprinklerSwitch::off_switch_ {nullptr} |
|
protected |
◆ on_switch_
◆ pinned_millis_
uint64_t esphome::sprinkler::SprinklerSwitch::pinned_millis_ {0} |
|
protected |
◆ pulse_duration_
uint32_t esphome::sprinkler::SprinklerSwitch::pulse_duration_ {0} |
|
protected |
◆ state_
bool esphome::sprinkler::SprinklerSwitch::state_ {false} |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/sprinkler/sprinkler.h
- /opt/build/esphome/esphome/components/sprinkler/sprinkler.cpp