monitoring(atlas-power): force horizontal layout for stat rows

This commit is contained in:
Brad Stein 2026-04-12 19:06:07 -03:00
parent b9b9308500
commit 08077f46c6
3 changed files with 24 additions and 6 deletions

View File

@ -3282,6 +3282,8 @@ def build_power_dashboard():
"properties": [{"id": "mappings", "value": status_mapping}, {"id": "description", "value": f"Attached node: {ANANKE_UPS_TETHYS_NODE}"}],
},
],
orientation="horizontal",
wide_layout=True,
description=(
"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 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).",
)
)
@ -3392,6 +3396,8 @@ def build_power_dashboard():
{"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.",
)
)

View File

@ -215,7 +215,9 @@
"fields": "",
"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."
},
@ -394,7 +396,9 @@
"fields": "",
"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)."
},
@ -582,7 +586,9 @@
"fields": "",
"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."
},

View File

@ -224,7 +224,9 @@ data:
"fields": "",
"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."
},
@ -403,7 +405,9 @@ data:
"fields": "",
"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)."
},
@ -591,7 +595,9 @@ data:
"fields": "",
"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."
},