configurations: Add ambient virtual sensor to Blyth

This specifies the parameters for a virtual ambient temperature sensor.
phosphor-virtual-sensor will take this information and create the
virtual sensor.

The virtual sensor takes the readings of three temperature sensors
(TMP275, DPS310, SI7020) on this board to calculate the ambient
temperature. This ambient temperature is published on DBus and will be
used for fan control.

We are using a modified median to calculate this ambient temperature. In
the case of only two valid temperature readings we will use the highest
one - in case the other is too low in error. Otherwise we take the
median value.

Tested: Verified that we can see the config (on p10-bmc on simics):
  busctl introspect xyz.openbmc_project.EntityManager
  /xyz/openbmc_project/inventory/system/board/Blyth_Panel/Ambient_Virtual_Temp

Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Id9c4cd22e294bc188f21068fa1babc7cfb3fa5be
diff --git a/configurations/Blyth.json b/configurations/Blyth.json
index 10fb097..0161eac 100644
--- a/configurations/Blyth.json
+++ b/configurations/Blyth.json
@@ -5,6 +5,28 @@
             "Bus": 7,
             "Name": "Ambient 0 Temp",
             "Type": "TMP75"
+        },
+        {
+            "MaxValidInput": 100,
+            "MaxValue": 128,
+            "MinValidInput": 0,
+            "MinValue": -127,
+            "Name": "Ambient Virtual Temp",
+            "Sensors": [
+                "Ambient 0 Temp",
+                "Ambient 1 Temp",
+                "Ambient 2 Temp"
+            ],
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Name": "Warning",
+                    "Severity": 0,
+                    "Value": 45
+                }
+            ],
+            "Type": "ModifiedMedian",
+            "Units": "DegreesC"
         }
     ],
     "Name": "Blyth Panel",