Giter Site home page Giter Site logo

Comments (16)

pantherale0 avatar pantherale0 commented on August 30, 2024 2

Should be fixed in next release (related commit pantherale0/pyfuelprices@ab8861c)

I've removed this dependency altogether although that does mean queries will take slightly longer as we have to go to OpenStreetMaps first.

from ha-fuelprices.

pantherale0 avatar pantherale0 commented on August 30, 2024 1

Hi,

I've not tested on an RPI, reverse_geocode is required for the other countries this integration supports. Looks like an update is available to 1.6 though so will see if I can bump the dependancies.

Sorry for the long response, due to personal commitements and work I've been unable to give this project as much love as I would have liked to.

from ha-fuelprices.

pantherale0 avatar pantherale0 commented on August 30, 2024 1

Eventually I'd like to implement #6, but a sensor like that isn't 'easy' when the architecture of the module isn't built in a way that makes it just a simple property to reference.

from ha-fuelprices.

Namirred avatar Namirred commented on August 30, 2024

I have the same issue. I'm using a pi 5

from ha-fuelprices.

davidanderle avatar davidanderle commented on August 30, 2024

I am having the same issue on Home Assistant Green on HA Core 2024.6.1

from ha-fuelprices.

si458 avatar si458 commented on August 30, 2024

Brilliant! Just need to wait for a new update/release now :)

from ha-fuelprices.

pantherale0 avatar pantherale0 commented on August 30, 2024

fixed

from ha-fuelprices.

si458 avatar si458 commented on August 30, 2024

Thank u so much!
The latest beta 2024.6.0b0 worked a treat!
Now to disable all the petrol stations I'm not interested in and only enable at the ones I always use, haha

from ha-fuelprices.

pantherale0 avatar pantherale0 commented on August 30, 2024

No problem.

You could use the areas feature in the config wizard to specify the individual stations you are interested in, but might be a bit annoying to setup that way lol 😉

from ha-fuelprices.

si458 avatar si458 commented on August 30, 2024

Yeh I've set 10 miles within my house for asda sainsburys and Tesco, and it's listing them all, and I'm just disabling the ones I'm not interested in and only my local ones I'm interested in!

Quick one too,
It's showing 139.9 GBP when I set the state to E10.
But this implies/graphing at £139.90.
Is there any way to change this to pence?
The HA display precision doesn't work/fix it

from ha-fuelprices.

pantherale0 avatar pantherale0 commented on August 30, 2024

Yeah, I know, it was worse during development to be honest as it literally would show the price as £139.90. The currency code is taken from the data source in the module.

As this integration targets a number of countries across the world, they all sometimes return the value a bit differently to how we show it in the UK so building something to take that into account becomes a bit messy.

from ha-fuelprices.

si458 avatar si458 commented on August 30, 2024

Could you maybe add an option under the sources and location, like 'display' pence/pounds?
Then if state is number just divide by 100 if pence?

from ha-fuelprices.

pantherale0 avatar pantherale0 commented on August 30, 2024

It's not impossible, but will take some time to figure out the best way to achieve without impacting anything else.

For now there are other solutions out there that might help in terms of displaying the value in the front end. But the unit (GBP) isn't actually part of the state value so automations would be fine.

from ha-fuelprices.

si458 avatar si458 commented on August 30, 2024

That's perfectly fine! I'll leave it with you.

Thanks for the integration!

It will be very helpful when i need to fill up in the mornings before work!

It can tell me which of my supermarkets are the cheapest, haha

from ha-fuelprices.

pantherale0 avatar pantherale0 commented on August 30, 2024

Could you maybe add an option under the sources and location, like 'display' pence/pounds? Then if state is number just divide by 100 if pence?

Just to add to this, as an example GasBuddy will return price information in dollars and cents like below, unlike UK where fuel is probably one of the few things that is displayed in pence.

image

I want to try and get data from PetrolPrices too as there are a large number of fuel stations in the UK that aren't included in the government trial.

from ha-fuelprices.

si458 avatar si458 commented on August 30, 2024

@pantherale0 ok no worries! leave it with you!

from ha-fuelprices.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.