Skip to content
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

Distance to stations #50

Open
ronbesouw opened this issue Aug 6, 2024 · 4 comments
Open

Distance to stations #50

ronbesouw opened this issue Aug 6, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@ronbesouw
Copy link

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.

@myTselection
Copy link
Owner

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?

@myTselection myTselection added the enhancement New feature or request label Aug 28, 2024
@poudenes
Copy link

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?

@myTselection
Copy link
Owner

ok, I'll see what I could do for a next release...

@alexlec
Copy link

alexlec commented Jan 10, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants