#pragma once #include #include "config.hpp" #include "drawtypes/label.hpp" #include "drawtypes/ramp.hpp" #include "modules/meta.hpp" LEMONBUDDY_NS namespace modules { enum class temp_state { NORMAL = 0, WARN }; class temperature_module : public timer_module { public: using timer_module::timer_module; void setup(); bool update(); string get_format() const; bool build(builder* builder, string tag) const; private: static constexpr auto TAG_LABEL = "