chore: reconcile v2 after stack rebase

This commit is contained in:
ajnart committed 2026-08-13 19:59:46 +02:00
1 parent 5dc4dbeaef
commit 0482c040ec
215 files changed
+12297 -17452

No files matched your search

+25 -23
View File
@@ -1,20 +1,17 @@
---
title: 'UPS'
description: 'Monitor the status of your UPS devices through a NUT server.'
title: "UPS"
description: "Monitor the status of your UPS devices through a NUT server."
hide_title: true
---
import { WidgetHeader } from '@site/src/components/widgets/header';
import { AddingWidget } from '@site/src/components/widgets/adding';
import { WidgetConfig } from '@site/src/components/widgets/configuration';
import { WidgetIntegrations } from '@site/src/components/widgets/integrations';
import { upsWidget } from '.';
import { peaNutIntegration } from '@site/docs/integrations/peanut';
import { WidgetHeader } from "@site/src/components/widgets/header";
import { AddingWidget } from "@site/src/components/widgets/adding";
import { WidgetConfig } from "@site/src/components/widgets/configuration";
import { WidgetIntegrations } from "@site/src/components/widgets/integrations";
import { upsWidget } from ".";
import { peaNutIntegration } from "@site/docs/integrations/peanut";
<WidgetHeader
widget={upsWidget}
categories={['UPS']}
/>
<WidgetHeader widget={upsWidget} categories={["UPS"]} />
This widget displays the status of the UPS devices reported by a Network UPS Tools (NUT) server. Each device shows its
status (online, on battery, charging or low battery), battery charge and estimated runtime, output load, and input and
@@ -22,27 +19,32 @@ output voltage.
### Layouts
import screenshotFull from './img/screenshot.png';
import screenshotCompact from './img/screenshot-compact.png';
import screenshotMini from './img/screenshot-mini.png';
import screenshotFull from "./img/screenshot.png";
import screenshotCompact from "./img/screenshot-compact.png";
import screenshotMini from "./img/screenshot-mini.png";
The widget adapts to the size of the tile, so it stays readable from a full dashboard panel down to a single cell. Multiple UPS devices scroll within the widget at any height.
| Layout | Size | Preview |
| --- | --- | --- |
| Full | 3+ columns wide | <img src={screenshotFull} alt="UPS widget full layout" width={239} /> |
| Compact | ~2 columns | <img src={screenshotCompact} alt="UPS widget compact layout" width={171} /> |
| Mini | 1 column | <img src={screenshotMini} alt="UPS widget mini layout" width={90} /> |
| Layout | Size | Preview |
| ------- | --------------- | --------------------------------------------------------------------------- |
| Full | 3+ columns wide | <img src={screenshotFull} alt="UPS widget full layout" width={239} /> |
| Compact | ~2 columns | <img src={screenshotCompact} alt="UPS widget compact layout" width={171} /> |
| Mini | 1 column | <img src={screenshotMini} alt="UPS widget mini layout" width={90} /> |
### Supported Integrations
<WidgetIntegrations items={[{
integration: peaNutIntegration,
}]} />
<WidgetIntegrations
items={[
{
integration: peaNutIntegration,
},
]}
/>
### Adding the widget
<AddingWidget />
### Configuration
<WidgetConfig configuration={upsWidget.configuration} />