ipmi: sensor config yaml updates

When marking a unit as functional both functional state
and presence need to be checked to avoid marking
non-present units as functional.

There was a change in yaml structure for accomodating
fix for marking non-present units as functional.
All these yamls are not sorted by sensor id, so it will
easier for a future script based change.

Change-Id: I122d652de32ba4f323ee7b31a59078d86e158246
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml
index bd928b8..0f887d5 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-sensor-inventory-mrw/openpower-config.yaml
@@ -4,11 +4,12 @@
   interfaces:
     org.open_power.OCC.Status:
       OccActive:
-        0x00:
-          type: "bool"
-          assert: "false"
-          deassert: "true"
-        0x01:
-          type: "bool"
-          assert: "true"
-          deassert: "false"
+        Offsets:
+          0x00:
+            type: "bool"
+            assert: "false"
+            deassert: "true"
+          0x01:
+            type: "bool"
+            assert: "true"
+            deassert: "false"