void trigger(const Ts &...x) ESPHOME_ALWAYS_INLINE
ValveClosedTrigger(Valve *a_valve)
Base class for all valve devices.
bool is_fully_closed() const
Helper method to check if the valve is fully closed. Equivalent to comparing .position against 0....
void add_on_state_callback(F &&f)
bool is_fully_open() const
Helper method to check if the valve is fully open. Equivalent to comparing .position against 1....
ValveOpenTrigger(Valve *a_valve)