Hi all,
i hope anyone can help me with my issue:
Following scenario:
I have the integration “Tankerkoenig” installed to get around my home zone the best price for petrol.
After configuring “Tankerkoenig” i got for each selected fuel station and type of fuel one sensor, e.g. “sensor.fuelstation1_super_e10” and so on (in my specific case i have 5 sensors for “super_e10”).
The sensor value is the current price and there are a few attributes available like “Station name”, “Street”, “City” and so on.
In my Dashboard i want only to display only the current minimum price for “super_e10” and the corresponding station name. Due to price change over time the relevant fuel station can change!
For that i created a MIN/MAX-helper sensor to get every time the lowest price for “super_e10”. The new helper sensor is dynamic and is called “sensor.lowest_price_super_e10”.
The value of the helper sensor is the lowest price (e.g. 1,70€) and it has also an attribute “Min Entity ID” with the entity ID of the origin sensor of the corresponding fuel station (e.g. “sensor.fuelstation1_super_e10”).
How can i configure a card in my Dasboard with only following informations based on the helper sensor:
- actual lowest fuel price (1,70€) → that´s no problem, because it´s the value of the helper sensor!
- actual valid station name → that´s my problem!!!
I have to query something like this: (sensor.lowest_price_super_e10.“Min Entity ID”).“Station Name”
But I don’t know how to implement that…
Thx to anyone who can help me!