monitoring(overview): wrap ups and climate stats for narrow panels

This commit is contained in:
Brad Stein 2026-04-12 21:28:14 -03:00
parent a0f1149bbb
commit 8d30fddd7d
5 changed files with 12 additions and 12 deletions

View File

@ -1485,7 +1485,7 @@ def build_overview():
links=link_to("atlas-power"), links=link_to("atlas-power"),
description="Per-UPS live snapshot: draw, discharge runtime, and status.", description="Per-UPS live snapshot: draw, discharge runtime, and status.",
orientation="vertical", orientation="vertical",
wide_layout=True, wide_layout=False,
) )
) )
panels.append( panels.append(
@ -1525,7 +1525,7 @@ def build_overview():
links=link_to("atlas-power"), links=link_to("atlas-power"),
description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.", description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.",
orientation="vertical", orientation="vertical",
wide_layout=True, wide_layout=False,
) )
) )
panels.append( panels.append(
@ -3554,7 +3554,7 @@ def build_power_dashboard():
{"matcher": {"id": "byRegexp", "options": ".*Status$"}, "properties": [{"id": "mappings", "value": status_mapping}]}, {"matcher": {"id": "byRegexp", "options": ".*Status$"}, "properties": [{"id": "mappings", "value": status_mapping}]},
], ],
orientation="vertical", orientation="vertical",
wide_layout=True, wide_layout=False,
description=( description=(
"Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status." "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status."
), ),
@ -3595,7 +3595,7 @@ def build_power_dashboard():
{"matcher": {"id": "byName", "options": "Pressure"}, "properties": [{"id": "unit", "value": "suffix:kPa"}]}, {"matcher": {"id": "byName", "options": "Pressure"}, "properties": [{"id": "unit", "value": "suffix:kPa"}]},
], ],
orientation="vertical", orientation="vertical",
wide_layout=True, wide_layout=False,
description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.", description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.",
) )
) )

View File

@ -1181,7 +1181,7 @@
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"links": [ "links": [
{ {
@ -1357,7 +1357,7 @@
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"links": [ "links": [
{ {

View File

@ -115,7 +115,7 @@
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"description": "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status." "description": "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status."
}, },
@ -278,7 +278,7 @@
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"description": "Current tent values: Temp \u00b0C, Temp \u00b0F, Humidity, Pressure." "description": "Current tent values: Temp \u00b0C, Temp \u00b0F, Humidity, Pressure."
}, },

View File

@ -1190,7 +1190,7 @@ data:
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"links": [ "links": [
{ {
@ -1366,7 +1366,7 @@ data:
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"links": [ "links": [
{ {

View File

@ -124,7 +124,7 @@ data:
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"description": "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status." "description": "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status."
}, },
@ -287,7 +287,7 @@ data:
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "vertical",
"wideLayout": true "wideLayout": false
}, },
"description": "Current tent values: Temp \u00b0C, Temp \u00b0F, Humidity, Pressure." "description": "Current tent values: Temp \u00b0C, Temp \u00b0F, Humidity, Pressure."
}, },