HACS installation
- Will be available on HACS soon but you can add it a custom repository.
Manual install
- Ensure you have advanced mode enabled in Home Assistant
- Copy openweatherhistory-card.js to the /config/www directory in Home Assistant
- In the configuration/LoveLace dashboards page select the Resources tab
- Add the resource /local/openweatherhistory-card.js?v=1 increment the version number if updating an exsting installation
- Add a manual card with the definition below
type: (required) custom:open-weather-map-history-card
entity_id: (required) The openweatherhistory sensor
title: (optional) The title to be set in the card. defaults to the program freindly name
icon: (optional) An icon to display to the left of the title.
theme: (optional) Override the used theme for this card with any loaded theme. For more information about themes, see the frontend documentation.
header: (optional) Header widget to render an image. See header/footer documentation.
footer: (optional) Header widget to render and image. See header/footer documentation.
Example:
type: custom:open-weather-map-history-card
entity_id: sensor.rainfactor
- New repository