-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Some example lovelace cards #2
Comments
Thanks for your feature request and your interest in the integration. I will have a look into it. |
I would second his request. If there is a way to create a lovelace template, so we don't have to do it on our own every single time, that would be great! |
This is how my markdown card looks like:
Downside:
|
Done with #5 |
Hi there, since my market has 389 offers, I had to reduce that number to something I could handle. Therefore, I came up with this mushroom template card. Since it's text-only, it loads pretty fast. Hope it helps:
|
the cool card from @KrizzeOne doens't work anymore. We only get the current "price", not the old "regularPrice" . here is an updated card: # **Obst und Gemüse**
| | | |
| :------------: |:------------- | -----:|
{%- set product_list_loop = state_attr('sensor.rewe_4040708', 'discounts') -%}
{%- for product in product_list_loop -%} {% if 'obst-und-gemuese' in product.category and product.product != '' %}
| <img src="{{product.picture_link[0] }}" width="50" height="50"/> | {{product.product }}
| ![badge](https://badgen.net/badge/{{ product.price | urlencode }}/€)
| {%- endif -%}
{%- endfor -%} For updating the readme file, I opend a pull request: #25 |
The request
Nice HA integration here!
Could you give out more examples like a markdown card where all "Knaller" sales will be listed or something similar? Would be a good addition
Is your feature request related to a problem?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: