-
Notifications
You must be signed in to change notification settings - Fork 2
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
Set a price as entity state #15
Comments
an additional advantage here is that the state is stored in HA history so the price of fuel can be tracked over time |
Will work on this for the next version, I agree, this would be much more helpful |
fixed in 86e2282 |
This looks great @pantherale0 . Thanks. have 2 queries:
|
Hi,
|
Discussed here, it's not a simple swap to pence as this integration supports other countries / currencies where the format varies. |
Ok, no problem. thanks for the quick response |
Checklist
Is your feature request related to a problem? Please describe.
The home assistant map card allows for map marker text to display an entities state rather than an entities name. Currently, a map simply shows an abbreviation of a fuel station's name, which is not hugely helpful:
It would be much more helpful do display a fuel price, as demo'd here: https://www.home-assistant.io/blog/2023/10/04/release-202310/#map-entity-marker-options
Describe the solution you'd like
I would like the ability to set an entity's state to be the fuel price.
Describe alternatives you've considered
Could probably do it with template sensors, although that would mean having 2 entities for each fuel station - something I'd prefer to avoid.
Additional context
I suspect this would take the form of a selection during setup whereby a user selects the sort of fuel they would like to display as the entity's state. E10 or B7 for instance
The text was updated successfully, but these errors were encountered: