A Lovelace custom card for custom component Krisinformation is Home Assistant
Branch: master
Clone or download
Latest commit 2fd947b Jan 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Jan 23, 2019
VERSION Add version Jan 14, 2019
krisinfo-card.js Rename js file to correct name Jan 14, 2019
krisinfo.png Add image Jan 9, 2019

README.md

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

  1. Copy krisinfo-card.js to <config directory>/www/krisinfo-card.js
  2. Add krisinfo-card as a resource in ui-lovelace.yaml or in raw config editor if you don't use yaml mode.
resources:
  - url: /local/krisinfo-card.js
    type: js

Example configuration

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

Thanks to @arsaboo for inspiration to this card from Animated weather card.

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

Buy Me A Coffee