1#ifndef SENSESP_TRANSFORMS_FREQUENCY_H_
2#define SENSESP_TRANSFORMS_FREQUENCY_H_
24 Frequency(
float multiplier = 1,
const String& config_path =
"");
25 virtual void set(
const int& input)
override;
26 virtual bool to_json(JsonObject& root)
override;
27 virtual bool from_json(
const JsonObject& config)
override;
32 unsigned int last_update_ = 0;
Transforms its input into frequency (Hz: cycles per second)
virtual bool from_json(const JsonObject &config) override
virtual void set(const int &input) override
virtual bool to_json(JsonObject &root) override
Frequency(float multiplier=1, const String &config_path="")
const String ConfigSchema(const SmartSwitchController &obj)