1#ifndef SENSESP_TRANSFORMS_MEDIAN_H_
2#define SENSESP_TRANSFORMS_MEDIAN_H_
23 Median(
unsigned int sample_size = 10,
const String& config_path =
"");
24 virtual void set(
const float& input)
override;
25 virtual bool to_json(JsonObject& root)
override;
26 virtual bool from_json(
const JsonObject& config)
override;
29 std::vector<float> buf_{};
30 unsigned int sample_size_;
const String ConfigSchema(const SmartSwitchController &obj)
bool ConfigRequiresRestart(const HTTPServer &obj)