#pragma once

#include <filesystem>


class Sensor
{
public:
    Sensor(const std::filesystem::path& celsius_temperature_file);

    void turn_on() { _on = true; }
    void turn_off() { _on = false; }

    long get_temperature();

    std::string path() const { return _celsius_temperature_file.string(); }

private:
    std::filesystem::path _celsius_temperature_file;
    bool _on;
};
