Road Cam Card
Card to display an image that is updated not that frequent as normal states are.
Install
HACS installation
While this plugin can be installed by HACS, it is not included in the default repository of HACS.
-
Add this repository as a custom repository inside HACS settings. Make sure you select
Lovelace
as Category. -
Install the plugin from the Overview page.
Manual install
-
Download and copy
road-cam-card.js
from the latest release into yourconfig/www
directory. -
Add a reference to
road-cam-card.js
inside yourui-lovelace.yaml
or through the raw config editor interface.resources: - url: /local/road-cam-card.js type: module
Usage
Options
Row options
Name | Type | Default | Description |
---|---|---|---|
type | string | required | custom:road-cam-card.js |
title | string | required | A card title |
image | string | required | The URL to an image |
Example usage
- type: custom:road-cam-card
title: Kålleredsmotet norrut
image: https://api.trafikinfo.trafikverket.se/v1/Images/TrafficFlowCamera_39635270.Jpeg?type=fullsize
License
This project is under the MIT license.