Releases: J-Lindvig/Fuelprices_DK
Releases · J-Lindvig/Fuelprices_DK
Now using SensorDeviceClass
v1.5
Improvements and bugfixes
Extended update interval
Trying to eliminate the issues that some experience, but increasing the update interval.
Updated URL
The URL for OK Benzin (www.ok.) has been updated to: https://www.ok.dk/offentlig/produkter/braendstof/priser/vejledende-standerpriser.
Better "Last update" and debug info
The attribute of a product is now only updated if we were able to extract a price from the website. Furthermore the value is now a string of date and time.
The debug now prints the status code of the website.
Fixed state to float
Bugfixes
The state, price of the fuel, is now correctly pushed as a float and not a string.
Bugfixes
Improvements and comments
Improvements
- Optimized code with buitin functions
- Removed unused imports
- Added productType to attributes of sensor
- Added comments to the code
Added credits
Added more credits.