1#ifndef SENSESP_TRANSFORMS_CHANGE_FILTER_H_
2#define SENSESP_TRANSFORMS_CHANGE_FILTER_H_
36 ChangeFilter(
float min_delta = 0.0,
float max_delta = 9999.0,
37 int max_skips = 99,
const String& config_path =
"");
39 virtual void set(
const float& new_value)
override;
40 virtual bool to_json(JsonObject& root)
override;
41 virtual bool from_json(
const JsonObject& config)
override;
A float passthrough transform that will only pass that value through if it is "sufficiently different...
virtual bool from_json(const JsonObject &config) override
virtual void set(const float &new_value) override
ChangeFilter(float min_delta=0.0, float max_delta=9999.0, int max_skips=99, const String &config_path="")
virtual bool to_json(JsonObject &root) override
const String ConfigSchema(const SmartSwitchController &obj)