Giter VIP home page Giter VIP logo

ha-rewe-discounts-card's Introduction

ha-rewe-discounts-card

A card to display the discounts from the REWE sensor with the ability to add them to the shopping list.

Requirements

Requires the REWE Discounts Integration to be installed and configured.

Installation

If you have HACS, you can install this card by adding this repository to the custom repositories in the HACS settings.

  1. Add https://github.com/schblondie/ha-rewe-discounts-card as a custom repository in HACS.

  2. Install the REWE Discounts Card from the HACS store.

  3. Add the card to your Lovelace configuration.

Configuration

This card shows as addable card in the Lovelace configuration. You can add it to your Lovelace configuration and configure it from there. The card has a rudimentary GUI configuration. You can configure it from there. I'm working on better GUI following the Lovelace style guide.

Options

Name Type Requirement Default Description
type string Required custom:discounts-card
entity string Required Rewe discount sensor (sensor.rewe_)
shopping_list string Required Shopping list to add items to
language string Optional de Language of the card (en, de)
color string Optional #4CAF50 Color of the add to shopping list button (HEX or string)
show object Optional See Show
exclude list Optional List of product categories to be excluded from the list

Show

Name Type Requirement Default Description
border boolean Optional true Show border around the products
rewe_logo boolean Optional true Show (Rewe) behind the product in the shopping list
price boolean Optional false Show the price of the product in the shopping list

Example

type: custom:discounts-card
entity: sensor.rewe_4040708
shopping_list: todo.shopping_list
color: ''
language: de
show:
  border: true
  rewe: true
  price: false

ha-rewe-discounts-card's People

Contributors

schblondie avatar maxklos avatar

Watchers

 avatar

Forkers

maxklos

ha-rewe-discounts-card's Issues

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.