iobroker-community-adapters / ioBroker.tankerkoenig

Spritpreis Adapter für ioBroker
http://www.iobroker.net
MIT License
31 stars 13 forks source link

[Feature]: Cheapest Station Boolean #109

Closed mctom closed 1 year ago

mctom commented 1 year ago

Is your feature request related to a problem? Please describe.

Marking the cheapest gas station in the visualization.

Describe the solution you'd like

Create a Boolean datapoint that indicates whether this gas station is the cheapest.

Create datapoint under: tankerkoenig.0.stations.0.diesel.cheapest

Describe alternatives you've considered

Processing of the table with the cheapest gas station in the visualization is very complex.

Additional context

No response

xXBJXx commented 1 year ago

The idea is good there is only one problem, it can have several stations of the same price and are thus all cheap. This would mean that in all stations that have the cheapest price, the state will then stand on true. If that is the way you want it, then it is not a problem.

mctom commented 1 year ago

I think this is no Problem. Then you have differnet stations whit a cheapest Flag in the Visualisation.

xXBJXx commented 1 year ago

Ok, then I will implement this

xXBJXx commented 1 year ago

Added in version 3.3.2

mctom commented 1 year ago

Works very well. Thanks for the fast implementation