alarms: don't hardcode the alarm type of a sideloaded alarm

Fixes: 26b3821d hardware: raise alarms when FspYh read failures happen
Change-Id: Ie1ca2ae0344adbf342a186030ee974966c63b905
diff --git a/src/ietf-hardware/sysrepo/Sysrepo.cpp b/src/ietf-hardware/sysrepo/Sysrepo.cpp
index 6d60fa6..a65f4d1 100644
--- a/src/ietf-hardware/sysrepo/Sysrepo.cpp
+++ b/src/ietf-hardware/sysrepo/Sysrepo.cpp
@@ -151,7 +151,7 @@
             for (const auto& [alarm, resource, severity, text] : sideLoadedAlarms) {
                 // Sideloaded alarms' resources are not registered using the code above, let's register those too
                 if (!seenSideLoadedAlarms.contains({alarm, resource})) {
-                    alarms::addResourcesToInventory(m_session, {{ALARM_SENSOR_MISSING, {resource}}});
+                    alarms::addResourcesToInventory(m_session, {{alarm, {resource}}});
                     seenSideLoadedAlarms.insert({alarm, resource});
                 }