Coder Social home page Coder Social logo

steam-wishlist's Introduction

hacs_badge

Steam Wishlist for Home Assistant

A custom component that keeps track of when games on your Steam wishlist are on sale. This component uses the config flow and can easily be configured via the Integrations section in the UI.

sensor.steam_wishlist

Pre-Installation

Prior to installing this integration you must first ensure that your wishlist is publicly viewable. To do this, login to you steam account and edit your profile. Under the Privacy Settings tab, set Game Details to Public. Without this step, this integration will not be able to parse your wishlist.

steam privacy settings

HACS Installation

  1. Search for Steam Wishlist under the Integrations tab on HACS.
  2. Install the integration.
  3. In the home assistant configuration screen click on Integrations.
  4. Click on the + icon to add a new integration.
  5. Search for Steam Wishlist and select it.
  6. Enter your steam account name and click Submit.

Manual Installation

  1. Download the latest release.
  2. Extract the files and move the steam_wishlist folder into the path to your custom_components. e.g. /config/custom_components.
  3. In the home assistant configuration screen click on Integrations.
  4. Click on the + icon to add a new integration.
  5. Search for Steam Wishlist and select it.
  6. Enter your steam account name and click Submit.

Sensors

After you successfully setup the integration a number of sensors will be created.

sensor.steam_wishlist

This sensor will report the number of games on sale from your wishlist.

sensor.steam_wishlist

Attributes

The following state attributes are available for this sensor:

attribute description
on_sale An array of games on sale.

binary_sensor.steam_wishlist_<title>

A binary sensor will be created for each game on your wishlist. It's state will indicate if it is on sale or not.

sensor.steam_wishlist

Attributes

The following state attributes are available for this sensor:

attribute description
box_art_url The URL for the box art of the game.
normal_price The normal price of the game.
sale_price The sale price of the game.
percent_off The percentage off of the normal price.
steam_id The Steam ID of the game.
title The title of the game.

Displaying in Lovelace

You are able to use any card or custom card to show a list of your games that are on sale by utilizing the sensor.steam_wishlist. Additionally you can use the nintendo-wishlist-card to display the games on sale from your Steam wish list. This is possible because I maintain this integration as well as the nintendo-wishlist integration, and the way they store their attributes in sensors is identical. So if you install the card you add it to lovelace like so:

- type: custom:nintendo-wishlist-card
  entity: sensor.steam_wishlist
  title: Steam Wishlist
  image_style: backgroundart
  max: 10

wishlist in the nintendo card

steam-wishlist's People

Contributors

boralyl avatar hwikene avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.