diff --git a/storagehandler.cpp b/storagehandler.cpp
index 6bc207b..4fef019 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -221,10 +221,13 @@ void initSensorInfoOnDBus()
     // For now the sensor path and type code are needed.
     auto init = []() {
         auto objServer = getObjectServer();
-        std::unordered_map<std::string, uint16_t> sensorInfo;
+        // ipmi::sensor::Type, ipmi::sensor::ReadingType
+        using sensorCodes = std::vector<uint8_t>;
+        std::unordered_map<std::string, sensorCodes> sensorInfo;
         for (const auto& s : invSensors)
         {
-            sensorInfo[s.first] = s.second.eventReadingType;
+            sensorInfo[s.first] = {s.second.sensorType,
+                                   s.second.eventReadingType};
         }
         sensorInfoInterface =
             objServer->add_interface("/xyz/openbmc_project/Ipmi/SensorInfo",
