markdownlint, prettier: enable formatting
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3f1eb4fd602cf9f6403836e554ad6d6f6e76f9db
diff --git a/virtual_sensor_config.json b/virtual_sensor_config.json
index f0d50ef..2f9e934 100644
--- a/virtual_sensor_config.json
+++ b/virtual_sensor_config.json
@@ -1,56 +1,48 @@
[
- {
- "Desc" :
- {
- "Name" : "Virtual_Inlet_Temp",
- "SensorType" : "temperature",
- "MaxValue": 127.0,
- "MinValue": -128.0
- },
- "Threshold" :
- {
- "CriticalHigh": 90,
- "CriticalLow": 20,
- "WarningHigh": 70,
- "WarningLow": 30
- },
- "Associations":
- [
- [
- "chassis",
- "all_sensors",
- "/xyz/openbmc_project/inventory/system/board/my_board"
- ]
- ],
- "Params":
- {
- "ConstParam" :
- [
- {
- "ParamName" : "P1",
- "Value" : 1.1
- }
- ],
- "DbusParam" :
- [
- {
- "ParamName" : "P2",
- "Desc" :
- {
- "Name" : "MB_INLET_TEMP",
- "SensorType" : "temperature"
- }
- },
- {
- "ParamName" : "P3",
- "Desc" :
- {
- "Name" : "MB_FAN0_TACH",
- "SensorType" : "fan_tach"
- }
- }
- ]
- },
- "Expression" : "P1 * (P2 + 5 - P3 * 0.01)"
- }
+ {
+ "Desc": {
+ "Name": "Virtual_Inlet_Temp",
+ "SensorType": "temperature",
+ "MaxValue": 127.0,
+ "MinValue": -128.0
+ },
+ "Threshold": {
+ "CriticalHigh": 90,
+ "CriticalLow": 20,
+ "WarningHigh": 70,
+ "WarningLow": 30
+ },
+ "Associations": [
+ [
+ "chassis",
+ "all_sensors",
+ "/xyz/openbmc_project/inventory/system/board/my_board"
+ ]
+ ],
+ "Params": {
+ "ConstParam": [
+ {
+ "ParamName": "P1",
+ "Value": 1.1
+ }
+ ],
+ "DbusParam": [
+ {
+ "ParamName": "P2",
+ "Desc": {
+ "Name": "MB_INLET_TEMP",
+ "SensorType": "temperature"
+ }
+ },
+ {
+ "ParamName": "P3",
+ "Desc": {
+ "Name": "MB_FAN0_TACH",
+ "SensorType": "fan_tach"
+ }
+ }
+ ]
+ },
+ "Expression": "P1 * (P2 + 5 - P3 * 0.01)"
+ }
]