Update server bindings
Re-run sdbus++ to pick up the new units for energy, power and current.
Change-Id: Ia772a65a55d5665494c676462f84ef761930cdd4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/xyz.openbmc_project.Sensor.Value.cpp b/xyz.openbmc_project.Sensor.Value.cpp
index 30d0766..bb3ef58 100644
--- a/xyz.openbmc_project.Sensor.Value.cpp
+++ b/xyz.openbmc_project.Sensor.Value.cpp
@@ -255,6 +255,9 @@
std::make_tuple( "xyz.openbmc_project.Sensor.Value.Unit.RPMS", Value::Unit::RPMS ),
std::make_tuple( "xyz.openbmc_project.Sensor.Value.Unit.Volts", Value::Unit::Volts ),
std::make_tuple( "xyz.openbmc_project.Sensor.Value.Unit.Meters", Value::Unit::Meters ),
+ std::make_tuple( "xyz.openbmc_project.Sensor.Value.Unit.Amperes", Value::Unit::Amperes ),
+ std::make_tuple( "xyz.openbmc_project.Sensor.Value.Unit.Watts", Value::Unit::Watts ),
+ std::make_tuple( "xyz.openbmc_project.Sensor.Value.Unit.Joules", Value::Unit::Joules ),
};
} // anonymous namespace
diff --git a/xyz/openbmc_project/Sensor/Value/server.hpp b/xyz/openbmc_project/Sensor/Value/server.hpp
index 00d49e1..732ba8d 100644
--- a/xyz/openbmc_project/Sensor/Value/server.hpp
+++ b/xyz/openbmc_project/Sensor/Value/server.hpp
@@ -44,6 +44,9 @@
RPMS,
Volts,
Meters,
+ Amperes,
+ Watts,
+ Joules,
};