/krisinfo-card

A Lovelace custom card for custom component Krisinformation is Home Assistant

Primary LanguageJavaScript

krisinfo-card

A Lovelace custom card for custom component Krisinformation in Home Assistant. The red alert icon will appear only if the message is an alert.

Krisinformation Lovelace Card

Installation

For installation instructions see this guide.

Example configuration

title: My awesome Lovelace!
resources:
  - url: /local/krisinfo-card.js
    type: module
views:
  title: My view
  cards:
    - type: custom:krisinfo-card
      entity: sensor.krisinformation

Options

Name Type Default Description
type string Required custom:krisinfo-card
entity string Required The entity id of your Krisinformation sensor
only_alerts boolean Optional Set to true if you only want the card to be shown when there is an alert and then only show alerts (default false)

Like my work and want to say thanks? Do it here:

Buy Me A Coffee