Distance to stations
Is there an option to change the distance to the cheapest petrol station? At the moment 5 and 10 KM are default. I would like for example 1 or 2 KM.
hi, this isn't so easy to do to make it configurable. But the main sensor should be pointing to the location closest to the requested location. Why would you have this specific need, maybe another solution might be a better fit?
I have same question. 10Km is maybe not best distance. For me I wanna know prices for local, 2km and 5km. Maybe you can create insert fields in your config:
First distance: (FIELD) Second distance: (FIELD)
with this value you can do the query action to manage the gas stations?
ok, I'll see what I could do for a next release...
It's a good request, for my example, I know at 12km I have the cheapest station of the region, but I cannot grab it with the 10km limitation... doing some changes in sensor.py to try by myself, but distances options seems the most simple for everyone.
This would be a very welcome option for me as well. I live near a river and the addons keeps selecting a gas station across said river, which is a 21minute drive, while there is another station (same brand) at 4km/5min away which is usally around 0.5 cents more expensive than the one across the river.
Being able to change the default 5km to 4km would solve this issue for me.