A Lovelace custom card for custom component Krisinformation in Home Assistant. The red alert icon will appear only if the message is an alert.
For installation instructions see this guide.
title: My awesome Lovelace!
resources:
- url: /local/krisinfo-card.js
type: module
views:
title: My view
cards:
- type: custom:krisinfo-card
entity: sensor.krisinformation
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: