A card to display the discounts from the REWE sensor with the ability to add them to the shopping list.
Requires the REWE Discounts Integration to be installed and configured.
If you have HACS, you can install this card by adding this repository to the custom repositories in the HACS settings.
-
Add
https://github.com/schblondie/ha-rewe-discounts-card
as a custom repository in HACS. -
Install the
REWE Discounts Card
from the HACS store. -
Add the card to your Lovelace 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.
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 |
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 |
type: custom:discounts-card
entity: sensor.rewe_4040708
shopping_list: todo.shopping_list
color: ''
language: de
show:
border: true
rewe: true
price: false