lovelace-multi-state-entities-card

Lovelace Multi State Entities Card

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store. GitHub Release GitHub License

A flexible Home Assistant Lovelace card with a distinctive banner design for displaying entity states. This card excels at displaying “Call to Action” information—situations where the user needs to know something immediately or do something specific.

Features

Documentation & Blueprints

To get the most out of the Status Banner Card, we provide extensive documentation and ready-to-use Blueprints:

Installation

  1. Open HACS in Home Assistant
  2. Click the three dots menu → Custom repositories
  3. Add https://github.com/johnneerdael/lovelace-multi-state-entities-card as a Lovelace repository
  4. Search for “Lovelace Multi State Entities Card” and install
  5. Refresh your browser

Manual Installation

  1. Download lovelace-multi-state-entities-card.js from the latest release
  2. Copy to /config/www/lovelace-multi-state-entities-card.js
  3. Add resource in Home Assistant:
    • Go to Settings → Dashboards → Resources
    • Add /local/lovelace-multi-state-entities-card.js as JavaScript Module

Quick Start

type: custom:lovelace-multi-state-entities-card
entity: sensor.your_entity
rules:
  - state: 'on'
    title: "ACTIVE"
    color: "#4CAF50"
  - state: 'off'
    title: "IDLE"
    color: "#9E9E9E"

For advanced configuration, template filters, and button actions, please refer to the Blueprint Library.

Development

# Install dependencies
npm install

# Start development server
npm start

# Build for production
npm run build

Contributing

Contributions are welcome! Please read the contributing guidelines first.

License

MIT License - see LICENSE for details.

Credits

Inspired by the tailwindcss-template-card and the Home Assistant boilerplate-card.