https://github.com/hudsonbrendon/ha-card-nut
A card for NUT integration
https://github.com/hudsonbrendon/ha-card-nut
Last synced: 20 days ago
JSON representation
A card for NUT integration
- Host: GitHub
- URL: https://github.com/hudsonbrendon/ha-card-nut
- Owner: hudsonbrendon
- Created: 2025-03-28T02:09:10.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T02:17:04.000Z (2 months ago)
- Last Synced: 2025-03-28T03:20:18.224Z (2 months ago)
- Language: CSS
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nobreak Card
A custom Lovelace card for Home Assistant that displays Nobreak/UPS information.
## Installation
### HACS (Recommended)
1. Make sure [HACS](https://hacs.xyz/) is installed.
2. Search for "Nobreak Card" in the HACS Frontend section.
3. Install the card.
4. Add the card to your dashboard.### Manual Installation
1. Download the `ha-card-nobreak.js` file from the latest release.
2. Upload the file to your `www` folder in Home Assistant.
3. Add a reference to the card in your `ui-lovelace.yaml`:```yaml
resources:
- url: /local/ha-card-nobreak.js
type: module
```## Usage
```yaml
type: custom:ha-card-nobreak
entity: sensor.your_ups_entity
```## Options
| Name | Type | Default | Description |
|------|------|---------|-------------|
| entity | string | required | Entity ID of your UPS/Nobreak sensor |## Development
### Setup
```bash
npm install
```### Build
```bash
npm run build
```