Add FanProfile into settable types
This will be updated via redfish.
Tested: Updated via redfish
Change-Id: I587c660a43f25fdf4e60ed56a8c9655c9370296b
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/EntityManager.cpp b/src/EntityManager.cpp
index 64c8f90..cb1272b 100644
--- a/src/EntityManager.cpp
+++ b/src/EntityManager.cpp
@@ -70,8 +70,8 @@
{"FOUND", probe_type_codes::FOUND},
{"MATCH_ONE", probe_type_codes::MATCH_ONE}}};
-static constexpr std::array<const char*, 4> settableInterfaces = {
- "Thresholds", "Pid", "Pid.Zone", "Stepwise"};
+static constexpr std::array<const char*, 5> settableInterfaces = {
+ "FanProfile", "Pid", "Pid.Zone", "Stepwise", "Thresholds"};
using JsonVariantType =
std::variant<std::vector<std::string>, std::vector<double>, std::string,
int64_t, uint64_t, double, int32_t, uint32_t, int16_t,