A card that displays Nintendo Switch games that are on sale from your wish list.
Cover Art | Background Art |
---|---|
- Install the Nintendo Wishlist Custom Component.
- Copy the nintendo-wishlist-card.js into your
www/custom-lovelace
folder or install it from the HACS (Home Assistant Community Store). - Add the following to your
ui-lovelace.yaml
file underresources
:
resources:
- url: /local/custom-lovelace/nintendo-wishlist-card.js
type: js
- Add the card to one of your lovelace views.
cards:
- type: custom:nintendo-wishlist-card
entity: sensor.nintendo_wishlist
title: Switch Wishlist
image_style: boxart
Name | Type | Default | Description |
---|---|---|---|
type | string | Required | custom:nintendo-wishlist-card |
entity | string | Required | The entity id of the nintendo-wishlist custom component. e.g. sensor.nintendo_wishlist |
title | string | The title to display at the top of the card. | |
image_style | string | boxart | The art style to display. Options are boxart or backgroundart . |
sort_by | percent_off ,sale_price |
No default order. | The field to sort the results in the car by. |
sort_dir | asc ,desc |
desc |
The direction to sort the results by (ascending or descending). |
The code for this card is a minor modification of @maykar's upcoming-media-card.