Skons / hassio-addons

7 stars 4 forks source link

Retrieving 3 cheapest gas stations doesn't seem to wok #26

Closed smarthomejunkie closed 2 years ago

smarthomejunkie commented 2 years ago

Hi, Thank you for writing this awesome addon! | can retrieve the gas prices for a gas station id that is close by. This works great! However, using the automation example to retrieve the three cheapest gas stations close by does not seem to work. I used a correct person entity that delivers a correct longitude and latitude, but the lowest entities are not being generated when I run the actions manually or by cron.

I tried various entities, even the device_tracker entity in the payload, but it does not seem to return anything. The debug information in the automation shows that the payload is filled correctly:

Executed: March 19, 2022, 7:41:30 PM Result: params: domain: mqtt service: publish service_data: topic: dgp/gas_stations payload_template: fuel_type: euro98 radius: 5 latitude: 51.71778965346052 longitude: 5.359328658515329 to_publish: 3 target: {} running_script: false limit: 10

Any idea what might be the issue here?

smarthomejunkie commented 2 years ago

seems to work in other parts of town