66 void play(
const Ts &...
x)
override {
Base class for all automation conditions.
void trigger(const Ts &...x) ESPHOME_ALWAYS_INLINE
CloseAction(Valve *valve)
void play(const Ts &...x) override
ControlAction(Valve *valve, ApplyFn apply)
void play(const Ts &...x) override
void(*)(ValveCall &, const std::remove_cvref_t< Ts > &...) ApplyFn
void play(const Ts &...x) override
void play(const Ts &...x) override
void play(const Ts &...x) override
ToggleAction(Valve *valve)
ValveCall & set_command_close()
Set the command to close the valve.
ValveCall & set_command_toggle()
Set the command to toggle the valve.
ValveCall & set_command_stop()
Set the command to stop the valve.
ValveCall & set_command_open()
Set the command to open the valve.
void perform()
Perform the valve call.
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....
ValveCall make_call()
Construct a new valve call used to control the valve.
ValveIsClosedCondition(Valve *valve)
bool check(const Ts &...x) override
bool check(const Ts &...x) override
ValveIsOpenCondition(Valve *valve)
ValveOpenTrigger(Valve *a_valve)
void apply(Climate *climate)
Apply these settings to the climate device.