void control(const std::string &value) override
virtual void setup(uint32_t id, std::string &value)
int get_max_length() const
Trigger< std::string > * set_trigger_
optional< std::function< optional< std::string >)> > f_
void dump_config() override
void publish_state(const std::string &state)
virtual bool save(const std::string &value)
std::string initial_value_
int get_min_length() const
TemplateTextSaverBase * pref_
std::string get_pattern() const