33 void setup()
override;
void set_has_position(bool has_position)
Trigger * get_close_trigger() const
void set_has_toggle(bool has_toggle)
Trigger * get_stop_trigger() const
void set_state_lambda(std::function< optional< float >()> &&f)
void set_has_stop(bool has_stop)
void control(const valve::ValveCall &call) override
Trigger * get_open_trigger() const
Trigger * prev_command_trigger_
float get_setup_priority() const override
void dump_config() override
void set_optimistic(bool optimistic)
optional< std::function< optional< float >)> > state_f_
Trigger< float > * position_trigger_
void set_restore_mode(TemplateValveRestoreMode restore_mode)
Trigger * get_toggle_trigger() const
Trigger * toggle_trigger_
Trigger< float > * get_position_trigger() const
valve::ValveTraits get_traits() override
void stop_prev_trigger_()
Implementation of SPI Controller mode.
Base class for all valve devices.
TemplateValveRestoreMode restore_mode_
void set_assumed_state(bool assumed_state)