blob: 69c5ceecfbae2ad5ff59a34f88c5b566e3a53b37 [file] [log] [blame]
// NOLINTBEGIN
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace leak_detector
{
// clang-format off
enum class LeakDetectorType : std::uint8_t{
Invalid,
Moisture,
FloatSwitch,
};
NLOHMANN_JSON_SERIALIZE_ENUM(LeakDetectorType, {
{LeakDetectorType::Invalid, "Invalid"},
{LeakDetectorType::Moisture, "Moisture"},
{LeakDetectorType::FloatSwitch, "FloatSwitch"},
});
} // namespace leak_detector
// clang-format on
// NOLINTEND