I have a card showing various fuel stations and basically I’m quite happy with this card. It looks nice, but it’s always hard to see, which station is the cheapest.
In order to solve this, I’ve filled a markdown card like this:
type: markdown
content: >-
# Diesel: {% for entity in expand('group.fuelstations_diesel_group') | sort(attribute='state') | map(attribute='entity_id') | map('string') | list %}
{{states(entity) }} € -- {{state_attr(entity, "friendly_name")}}
{% endfor%}
title: Fuel
This is pretty nice, because it is less code and nearly no maintenance in the future … but it looks quite ugly. Yes, I could add icons and such, but still it is nothing compared to the entity card …at least not for me.
So my question is, can I somehow combine the list operation from the markdown card with the nice layout of the entity card? Each time I try, I run into issues…
Is it really worth driving for cheaper fuel?
Where I live and the gas stations I drive by the difference in price means I save money if I drive less than 2-3 km.
And that is only factoring in the fuel cost.
I have never bothered driving for cheaper fuel but then again I have never done more than just trying to remember prices I drive by and doing some calculations in my head.
Looking at the prices near me there’s a $7.65 AUD difference between the cheapest and dearest prices for a full tank of 95 octane unleaded. As I only fill up once every 6 weeks that’s a saving of $66.30 a year. So, no I don’t bother. I just go to the most convenient.
That is actually something could worth doing then, but I found a page where I could compare the prices where I live.
The difference between the cheapest and most expensive is 0.25 per liter , lets call it Monopoly money since that is what it feels like with the current inflation.
So a car with 40 liter tank will save 10 Monopoly money.
Current price per liter is 21.54 Monopoly money at the cheapest place and the average consumption in city traffic is about 0.1 liter per 1 km.
So 10/21.54 = about 4.6 km.
That means if the distance between the most expensive and the cheapest is less than 4.6 km then I could save money, but it’s not. And even if it was then it’s not worth it with the time loss.
But I can see that there are other parts in the world where the price cartels aren’t as apparent and you actually can save some money.
As you can see, just right now, there is a difference of 0,22 Euro for a single liter. I need to refuel my car at least every three weeks and normally I need roughly 50L. So each refueling can save me 11EURs and regarding a whole year it is something round about 200EUR.
And for what? Briefly checking a list in HA and then choosing another way to drive home - no big thing for me