Skip to content

custom-cards/nintendo-wishlist-card

Repository files navigation

Nintendo Wishlist Card

MIT license hacs_badge

A card that displays Nintendo Switch games that are on sale from your wish list.

Cover Art Background Art
Cover Art Background Art

Install

  1. Install the Nintendo Wishlist Custom Component.
  2. Copy the nintendo-wishlist-card.js into your www/custom-lovelace folder or install it from the HACS (Home Assistant Community Store).
  3. Add the following to your ui-lovelace.yaml file under resources:
resources:
  - url: /local/custom-lovelace/nintendo-wishlist-card.js
    type: js
  1. 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

Configuration

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.
max int 5 The maximum number of items to show in the card.
accent_color string var(--primary-color) when image_style is boxart, #000 when image_style is backgroundart Color of the ribbon in boxart image_style and background in backgroundart image_style. Accepts any valid css color e.g. (red, #fff)
title_color string var(--primary-color) when image_style is boxart, #fff when image_style is backgroundart Color of the title. Accepts any valid css color e.g. (red, #fff)
line1_color string var(--primary-color) when image_style is boxart, #fff when image_style is backgroundart Color of the pricing text. Accepts any valid css color e.g. (red, #fff)
border_color string #fff when image_style is boxart, #000 when image_style is backgroundart Color of the outside border in boxart image_style and border around image in backgroundart image_style. Accepts any valid css color e.g. (red, #fff)
sort_by percent_off, sale_price No specific order What field the results should be sorted by.
sort_dir asc, desc desc Which direction to sort the results.

Credits

The code for this card is a minor modification of @maykar's upcoming-media-card.

About

Displays a card showing Nintendo Switch games that are on sale from your wish list.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published