1#ifndef SENSESP_TRANSFORMS_ANGLE_CORRECTION_H_
2#define SENSESP_TRANSFORMS_ANGLE_CORRECTION_H_
24 const String& config_path =
"");
25 virtual void set(
const float& input)
override;
26 virtual bool to_json(JsonObject& root)
override;
27 virtual bool from_json(
const JsonObject& config)
override;
Add a value to an angle input (in radians). The output value is wrapped to a range between [0,...
AngleCorrection(float offset, float min_angle=0, const String &config_path="")
virtual void set(const float &input) override
virtual bool from_json(const JsonObject &config) override
virtual bool to_json(JsonObject &root) override
const String ConfigSchema(const SmartSwitchController &obj)