monitoring(atlas-power): force horizontal layout for stat rows
This commit is contained in:
parent
b9b9308500
commit
08077f46c6
@ -3282,6 +3282,8 @@ def build_power_dashboard():
|
|||||||
"properties": [{"id": "mappings", "value": status_mapping}, {"id": "description", "value": f"Attached node: {ANANKE_UPS_TETHYS_NODE}"}],
|
"properties": [{"id": "mappings", "value": status_mapping}, {"id": "description", "value": f"Attached node: {ANANKE_UPS_TETHYS_NODE}"}],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
orientation="horizontal",
|
||||||
|
wide_layout=True,
|
||||||
description=(
|
description=(
|
||||||
"Per-UPS live snapshot: current draw in watts, estimated battery runtime if discharge started now, and charging/discharging status."
|
"Per-UPS live snapshot: current draw in watts, estimated battery runtime if discharge started now, and charging/discharging status."
|
||||||
),
|
),
|
||||||
@ -3325,6 +3327,8 @@ def build_power_dashboard():
|
|||||||
{"matcher": {"id": "byName", "options": "Tent RH (%)"}, "properties": [{"id": "unit", "value": "percent"}]},
|
{"matcher": {"id": "byName", "options": "Tent RH (%)"}, "properties": [{"id": "unit", "value": "percent"}]},
|
||||||
{"matcher": {"id": "byName", "options": "Tent Pressure (VPD kPa)"}, "properties": [{"id": "unit", "value": "suffix:kPa"}]},
|
{"matcher": {"id": "byName", "options": "Tent Pressure (VPD kPa)"}, "properties": [{"id": "unit", "value": "suffix:kPa"}]},
|
||||||
],
|
],
|
||||||
|
orientation="horizontal",
|
||||||
|
wide_layout=True,
|
||||||
description="Current tent temperature in C/F, humidity, and pressure proxy (VPD kPa).",
|
description="Current tent temperature in C/F, humidity, and pressure proxy (VPD kPa).",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -3392,6 +3396,8 @@ def build_power_dashboard():
|
|||||||
{"color": "red", "value": 9},
|
{"color": "red", "value": 9},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
orientation="horizontal",
|
||||||
|
wide_layout=True,
|
||||||
description="Current fan activity levels (0-10): inside outlet, inside inlet, outside inlet, and interior fans.",
|
description="Current fan activity levels (0-10): inside outlet, inside inlet, outside inlet, and interior fans.",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@ -215,7 +215,9 @@
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value"
|
"textMode": "name_and_value",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"wideLayout": true
|
||||||
},
|
},
|
||||||
"description": "Per-UPS live snapshot: current draw in watts, estimated battery runtime if discharge started now, and charging/discharging status."
|
"description": "Per-UPS live snapshot: current draw in watts, estimated battery runtime if discharge started now, and charging/discharging status."
|
||||||
},
|
},
|
||||||
@ -394,7 +396,9 @@
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value"
|
"textMode": "name_and_value",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"wideLayout": true
|
||||||
},
|
},
|
||||||
"description": "Current tent temperature in C/F, humidity, and pressure proxy (VPD kPa)."
|
"description": "Current tent temperature in C/F, humidity, and pressure proxy (VPD kPa)."
|
||||||
},
|
},
|
||||||
@ -582,7 +586,9 @@
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value"
|
"textMode": "name_and_value",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"wideLayout": true
|
||||||
},
|
},
|
||||||
"description": "Current fan activity levels (0-10): inside outlet, inside inlet, outside inlet, and interior fans."
|
"description": "Current fan activity levels (0-10): inside outlet, inside inlet, outside inlet, and interior fans."
|
||||||
},
|
},
|
||||||
|
|||||||
@ -224,7 +224,9 @@ data:
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value"
|
"textMode": "name_and_value",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"wideLayout": true
|
||||||
},
|
},
|
||||||
"description": "Per-UPS live snapshot: current draw in watts, estimated battery runtime if discharge started now, and charging/discharging status."
|
"description": "Per-UPS live snapshot: current draw in watts, estimated battery runtime if discharge started now, and charging/discharging status."
|
||||||
},
|
},
|
||||||
@ -403,7 +405,9 @@ data:
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value"
|
"textMode": "name_and_value",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"wideLayout": true
|
||||||
},
|
},
|
||||||
"description": "Current tent temperature in C/F, humidity, and pressure proxy (VPD kPa)."
|
"description": "Current tent temperature in C/F, humidity, and pressure proxy (VPD kPa)."
|
||||||
},
|
},
|
||||||
@ -591,7 +595,9 @@ data:
|
|||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
},
|
},
|
||||||
"textMode": "name_and_value"
|
"textMode": "name_and_value",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"wideLayout": true
|
||||||
},
|
},
|
||||||
"description": "Current fan activity levels (0-10): inside outlet, inside inlet, outside inlet, and interior fans."
|
"description": "Current fan activity levels (0-10): inside outlet, inside inlet, outside inlet, and interior fans."
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user