19template <
typename C,
typename P>
virtual void load_configuration()
Translates a float value into a boolean value, which depends on whether the float value is "in range"...
virtual String get_config_schema() override
virtual void get_configuration(JsonObject &doc) override
FloatThreshold(float min_value, float max_value, bool in_range=true, String config_path="")
virtual bool set_configuration(const JsonObject &config) override
Translates an integer value into a boolean value, which depends on whether the integer value is "in r...
virtual bool set_configuration(const JsonObject &config) override
IntThreshold(int min_value, int max_value, bool in_range=true, String config_path="")
virtual void get_configuration(JsonObject &doc) override
virtual String get_config_schema() override