18 void write(
float value);
21 void setup()
override;
61 void play(Ts...
x)
override { this->servo_->write(this->value_.value(
x...)); }
71 void play(Ts...
x)
override { this->servo_->detach(); }
uint32_t transition_length_
void save_level_(float v)
float get_setup_priority() const override
const float DATA
For components that import data from directly connected sensors like DHT.
void play(Ts... x) override
Base class for all output components that can output a variable level, like PWM.
void set_transition_length(uint32_t transition_length)
void set_auto_detach_time(uint32_t auto_detach_time)
uint32_t auto_detach_time_
bool has_reached_target()
TEMPLATABLE_VALUE(float, value) void play(Ts... x) override
void internal_write(float value)
output::FloatOutput * output_
void dump_config() override
ServoDetachAction(Servo *servo)
ServoWriteAction(Servo *servo)
void set_idle_level(float idle_level)
void set_max_level(float max_level)
void set_restore(bool restore)
void set_output(output::FloatOutput *output)
Implementation of SPI Controller mode.
void set_min_level(float min_level)