Skip to content
A sensor that monitors a Nintendo Switch wish list for when games are on sale.
Python
Branch: master
Clone or download
boralyl Update example_node_red_flow.json
Fixed small bug in node-red example flow.  If a term matched more than 1 game like 'Resident Evil' and multiple resident evil games were on sale the flow would not send an alert for that search term.
Latest commit e28ac8f Jan 10, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/nintendo_wishlist
.gitignore
CHANGELOG.md The wish list sensor will now parse all games on sale instead of just Dec 24, 2019
LICENSE
README.md
example_node_red_flow.json
example_node_red_flow.png
hacs.json
sensors.png

README.md

Nintendo Wishlist Component

hacs_badge

NOTE: This component currently only works in certain countries. See Supported Countries below.

Home Assistant component that keeps track of Nintendo Switch games that are on sale on your wish list in home assistant. (There is currently not a way to get your wish list from Nintendo, so you have to keep track of it in this component.)

nitendo wishlist card

HACS Installation

  1. Search for Nintendo Wishlist Component in the HACS Store tab.
  2. Add the code to your configuration.yaml using the config options below.
  3. You will need to restart after installation for the component to start working.
  4. Display it in your lovelace UI using the nintendo-wishlist-card.

Platform Configuration

Name Required Description
country yes The 2 letter country code. See Supported Countries below.
whishlist yes A list of Nintendo Switch titles

Sample Sensor Configuration

Note: If the title contains characters that might confuse yaml like a : or ' quote the entire string like the last game in the example below.

sensor:
- platform: nintendo_wishlist
  country: US
  wishlist:
    - Katana ZERO
    - OKAMI HD
    - Salt and Sanctuary
    - Dead Cells
    - Bloodstained
    - Dark Souls
    - Velocity X
    - "The Legend of Zelda: Breath of the Wild"

Supported Countries

Country Code Country Name
AT Austria
BE Belgium
CA Canada
CH Schweiz/Suisse/Svizzera
DE Germany
ES Spain
FR France
GB UK/Ireland
IT Italy
NL Netherlands
PT Portugal
RU Russia
US United States
ZA South Africa

How wish list matching works

Currently wish list matching uses a very simple string comparison. It's possible to get false positives as it checks to see if any game on your wish list starts with any title that is on sale. In order to avoid false positives try to have the title match that on the nintendo e-store as closely as possible.

Conversely, if you would like to match multiple titles that have a similar name you can specify less of the title. An example of this would be to add an item to your wishlist like Shantae. This would match any of the Shantae titles on the e-shop (e.g. Shantae and the Pirate's Curse and Shantae: Half-Genie Hero.

Sensors for Automations

When the custom component is run it will create a new sensor named sensor.nintendo_wishlist. It's state will be the total number of games from your wish list that are on sale. This sensor can be used with the custom card.

The component will additionally create a sensor per title in your wish list. These will be named sensor.nintendo_wishlist_{title_name}. For example Mega Man 11 would be sensor.nintendo_wishlist_mega_man_11. The state of each sensor will be 0 if it is not on sale and 1 if it is on sale. You can use these sensors in your automations to send notifications, blink your lights, or any other automation you would like to do when a title on your wish list goes on sale.

example sensors

Example NodeRed Flow

You can import an example of a node-red flow that sends an alert to kodi when a game on your wish list is on sale. You can use the inject node to test the flow and customize it to your preferences.

example nodered flow

You can’t perform that action at this time.