18 void write(
float value);
73 void play(Ts...
x)
override { this->servo_->write(this->value_.value(
x...)); }
83 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)
void set_level(float state)
Set the level of this float output, this is called from the front-end.
uint32_t auto_detach_time_
TEMPLATABLE_VALUE(float, value) void play(Ts... x) override
void internal_write(float value)
ESPPreferences * global_preferences
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)
virtual ESPPreferenceObject make_preference(size_t length, uint32_t type, bool in_flash)=0
void set_output(output::FloatOutput *output)
Implementation of SPI Controller mode.
void set_min_level(float min_level)