myTselection / Carbu_com

Actual fuel prices (super, diesel, lpg) per gasstation supported for Belgium, France, Luxembourg, Spain, Netherlands, Germany, Italy and US! Home Assistant custom component HACS integration for BE/FR/LU based on carbu.com and mazout.com site to compare and save on your actual fuel oil/heating oil (mazout) and fuel (diesel, super and lpg) purchases.
MIT License
23 stars 6 forks source link

ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get' #66

Open poudenes opened 2 days ago

poudenes commented 2 days ago

Since the latest update I get those errors:

2024-11-05 08:40:56.428 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:41:26.430 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:41:56.431 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:42:26.431 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:42:56.431 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:43:26.431 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:43:56.433 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:44:26.433 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:44:56.434 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:45:26.435 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'
2024-11-05 08:45:56.434 ERROR (MainThread) [custom_components.carbu_com.sensor] ERROR: official failed for super95_official_e10 : 'NoneType' object has no attribute 'get'

Revert back to 11.2.4 and the errors are also there (it wasn't before)

Then removed the integration, removed form HACS. Restart HA Reinstalled it, add integration and the error is still there. Enabled debug and reload the integration, below the log:

2024-11-05 08:56:40.769 INFO (MainThread) [custom_components.carbu_com.sensor] async_will_remove_from_hass Carbu.com
2024-11-05 08:56:40.772 INFO (MainThread) [custom_components.carbu_com.sensor] async_will_remove_from_hass Carbu.com
2024-11-05 08:56:40.776 INFO (MainThread) [custom_components.carbu_com.sensor] async_will_remove_from_hass Carbu.com
2024-11-05 08:56:40.779 INFO (MainThread) [custom_components.carbu_com.sensor] async_will_remove_from_hass Carbu.com
2024-11-05 08:56:40.785 INFO (MainThread) [custom_components.carbu_com.sensor] async_setup_entry Carbu.com
2024-11-05 08:56:40.785 INFO (MainThread) [custom_components.carbu_com.sensor] Fetching init stuff for Carbu.com
2024-11-05 08:56:40.785 DEBUG (MainThread) [custom_components.carbu_com.sensor] Starting with session for Carbu.com
2024-11-05 08:56:41.515 DEBUG (SyncWorker_27) [custom_components.carbu_com.utils] searchGeocodeOSM(1082 SG, Amsterdam, Netherlands): {'lat': 52.37454030000001, 'lon': 4.897975505617977, 'boundingbox': [52.2779766, 4.7287776, 52.4310638, 5.1076933]}
2024-11-05 08:56:41.516 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com getting fuel price_info super95 1082 SG, NL, Amsterdam, {'lat': 52.37454030000001, 'lon': 4.897975505617977, 'boundingbox': [[52.2779766, 4.7287776, 52.4310638, 5.1076933], [52.2329766, 4.7737776, 52.386063799999995, 5.1526933], [52.1879766, 4.8187776, 52.34106379999999, 5.1976933]]}, FuelType.SUPER95
2024-11-05 08:56:41.781 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com price_info super95 [{'id': 8445, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/makro-amsterdam-amsterdam-duivendrecht-8445', 'brand': 'Makro', 'address': 'De Flinesstraat 9', 'postalcode': '1114 AL', 'locality': 'Amsterdam-Duivendrecht', 'price': '1.819', 'price_changed': '5 november 2024', 'lat': 52.32558, 'lon': 4.926653, 'fuelname': 'SUPER95', 'distance': 5.788572987428458, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9, 'name': 'Express Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/haan-express-amsterdam-9', 'brand': 'haan', 'address': 'Appelweg 46', 'postalcode': '1033 AV', 'locality': 'Amsterdam', 'price': '1.889', 'price_changed': '5 november 2024', 'lat': 52.415063, 'lon': 4.89739, 'fuelname': 'SUPER95', 'distance': 4.511139784919006, 'date': '5 november 2024', 'country': 'NL'}, {'id': 15, 'name': 'Amsterdam - Hoofdweg', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-hoofdweg-15', 'brand': 'TinQ', 'address': 'Hoofdweg 360', 'postalcode': '1056 DC', 'locality': 'Amsterdam', 'price': '1.919', 'price_changed': '5 november 2024', 'lat': 52.371851, 'lon': 4.849666, 'fuelname': 'SUPER95', 'distance': 3.2968442694673312, 'date': '5 november 2024', 'country': 'NL'}, {'id': 5, 'name': 'Amsterdam Hamerstraat', 'url': 'https://www.brandstof-zoeker.nl/station/tango-amsterdam-hamerstraat-5', 'brand': 'Tango', 'address': 'Hamerstraat 16', 'postalcode': '1021 JV', 'locality': 'Amsterdam', 'price': '1.929', 'price_changed': '5 november 2024', 'lat': 52.384405, 'lon': 4.922612, 'fuelname': 'SUPER95', 'distance': 2.002137435186998, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2703, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/argos-amsterdam-2703', 'brand': 'Argos', 'address': 'Buikslotermeerplein 295', 'postalcode': '1025 XD', 'locality': 'Amsterdam', 'price': '1.929', 'price_changed': '4 november 2024', 'lat': 52.397988, 'lon': 4.940695, 'fuelname': 'SUPER95', 'distance': 3.9034996488116196, 'date': '4 november 2024', 'country': 'NL'}, {'id': 3084, 'name': 'Amsterdam - van Marumstraat', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-van-marumstraat-3084', 'brand': 'TinQ', 'address': 'van Marumstraat 18', 'postalcode': '1098 RP', 'locality': 'Amsterdam', 'price': '1.949', 'price_changed': '5 november 2024', 'lat': 52.350411, 'lon': 4.939192, 'fuelname': 'SUPER95', 'distance': 3.8813997175226596, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9982, 'name': 'Amsterdam - Pr. Kennedylaan', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-pr-kennedylaan-9982', 'brand': 'TinQ', 'address': 'Pr. Kennedylaan 783', 'postalcode': '1079 MS', 'locality': 'Amsterdam', 'price': '1.949', 'price_changed': '5 november 2024', 'lat': 52.340339, 'lon': 4.896975, 'fuelname': 'SUPER95', 'distance': 3.807877299291239, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9995, 'name': 'Duivendrecht - Industrieweg', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-duivendrecht-industrieweg-9995', 'brand': 'TinQ', 'address': 'Industrieweg 19-21', 'postalcode': '1115 AD', 'locality': 'Duivendrecht', 'price': '1.949', 'price_changed': '5 november 2024', 'lat': 52.336502, 'lon': 4.946628, 'fuelname': 'SUPER95', 'distance': 5.3732749030976965, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2760, 'name': 'Amsterdam - van Hallstraat', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-van-hallstraat-2760', 'brand': 'TinQ', 'address': 'van Hallstraat 59', 'postalcode': '1051 GZ', 'locality': 'Amsterdam', 'price': '1.959', 'price_changed': '5 november 2024', 'lat': 52.382821, 'lon': 4.870782, 'fuelname': 'SUPER95', 'distance': 2.0650583424041673, 'date': '5 november 2024', 'country': 'NL'}, {'id': 34, 'name': 'Amsterdam Utrechtse Brug', 'url': 'https://www.brandstof-zoeker.nl/station/esso-amsterdam-utrechtse-brug-34', 'brand': 'Esso', 'address': 'Nieuwe Utrechtseweg 10', 'postalcode': '1096 CK', 'locality': 'Amsterdam', 'price': '2.010', 'price_changed': '5 november 2024', 'lat': 52.332316, 'lon': 4.912185, 'fuelname': 'SUPER95', 'distance': 4.798651349267307, 'date': '5 november 2024', 'country': 'NL'}, {'id': 8445, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/makro-amsterdam-amsterdam-duivendrecht-8445', 'brand': 'Makro', 'address': 'De Flinesstraat 9', 'postalcode': '1114 AL', 'locality': 'Amsterdam-Duivendrecht', 'price': '1.819', 'price_changed': '5 november 2024', 'lat': 52.32558, 'lon': 4.926653, 'fuelname': 'SUPER95', 'distance': 5.788572987428458, 'date': '5 november 2024', 'country': 'NL'}, {'id': 3788, 'name': 'Zaandam', 'url': 'https://www.brandstof-zoeker.nl/station/supertank-zaandam-3788', 'brand': 'SuperTank', 'address': 'Paltrokstraat 17', 'postalcode': '1508 EJ', 'locality': 'Zaandam', 'price': '1.859', 'price_changed': '5 november 2024', 'lat': 52.45806, 'lon': 4.81524, 'fuelname': 'SUPER95', 'distance': 10.86260794619181, 'date': '5 november 2024', 'country': 'NL'}, {'id': 159, 'name': 'Zaandam', 'url': 'https://www.brandstof-zoeker.nl/station/tango-zaandam-159', 'brand': 'Tango', 'address': 'Vincent Van Goghweg 46', 'postalcode': '1506 JD', 'locality': 'Zaandam', 'price': '1.869', 'price_changed': '5 november 2024', 'lat': 52.450443, 'lon': 4.816194, 'fuelname': 'SUPER95', 'distance': 10.11089423319929, 'date': '5 november 2024', 'country': 'NL'}, {'id': 160, 'name': 'ZAANDAM', 'url': 'https://www.brandstof-zoeker.nl/station/lukoil-zaandam-160', 'brand': 'LUKOIL', 'address': 'Provincialeweg 47', 'postalcode': '1506 MB', 'locality': 'ZAANDAM', 'price': '1.869', 'price_changed': '5 november 2024', 'lat': 52.442423, 'lon': 4.811955, 'fuelname': 'SUPER95', 'distance': 9.551232155273166, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2855, 'name': 'Zaandam - De Weer', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-zaandam-de-weer-2855', 'brand': 'TinQ', 'address': 'De Weer 30', 'postalcode': '1504 AH', 'locality': 'Zaandam', 'price': '1.879', 'price_changed': '5 november 2024', 'lat': 52.43843, 'lon': 4.844255, 'fuelname': 'SUPER95', 'distance': 7.993270830577886, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9, 'name': 'Express Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/haan-express-amsterdam-9', 'brand': 'haan', 'address': 'Appelweg 46', 'postalcode': '1033 AV', 'locality': 'Amsterdam', 'price': '1.889', 'price_changed': '5 november 2024', 'lat': 52.415063, 'lon': 4.89739, 'fuelname': 'SUPER95', 'distance': 4.511139784919006, 'date': '5 november 2024', 'country': 'NL'}, {'id': 8149, 'name': 'WOUDRICHEM', 'url': 'https://www.brandstof-zoeker.nl/station/lukoil-woudrichem-8149', 'brand': 'LUKOIL', 'address': 'Almkerkseweg 3C', 'postalcode': '4285 WZ', 'locality': 'WOUDRICHEM', 'price': '1.909', 'price_changed': '5 november 2024', 'lat': 52.442309, 'lon': 4.811968, 'fuelname': 'SUPER95', 'distance': 9.540659174134277, 'date': '5 november 2024', 'country': 'NL'}, {'id': 8470, 'name': 'Ouder-Amstel', 'url': 'https://www.brandstof-zoeker.nl/station/esso-express-ouder-amstel-ouderkerk-aan-de-amstel-8470', 'brand': 'Esso Express', 'address': 'Burg. Stramanweg 98', 'postalcode': '1191 EA', 'locality': 'OUDERKERK AAN DE AMSTEL', 'price': '1.909', 'price_changed': '5 november 2024', 'lat': 52.304933, 'lon': 4.922862, 'fuelname': 'SUPER95', 'distance': 7.931361138773978, 'date': '5 november 2024', 'country': 'NL'}, {'id': 15, 'name': 'Amsterdam - Hoofdweg', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-hoofdweg-15', 'brand': 'TinQ', 'address': 'Hoofdweg 360', 'postalcode': '1056 DC', 'locality': 'Amsterdam', 'price': '1.919', 'price_changed': '5 november 2024', 'lat': 52.371851, 'lon': 4.849666, 'fuelname': 'SUPER95', 'distance': 3.2968442694673312, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2703, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/argos-amsterdam-2703', 'brand': 'Argos', 'address': 'Buikslotermeerplein 295', 'postalcode': '1025 XD', 'locality': 'Amsterdam', 'price': '1.929', 'price_changed': '4 november 2024', 'lat': 52.397988, 'lon': 4.940695, 'fuelname': 'SUPER95', 'distance': 3.9034996488116196, 'date': '4 november 2024', 'country': 'NL'}]
2024-11-05 08:56:41.781 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com getting official price_info super95_official_e10
2024-11-05 08:56:42.311 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com official_info super95_official_e10 Official {}
2024-11-05 08:56:42.311 DEBUG (MainThread) [custom_components.carbu_com.sensor] checking unique sensor Carbu.com super95 official e10 NL
2024-11-05 08:56:42.311 DEBUG (MainThread) [custom_components.carbu_com.sensor] checking unique sensor Carbu.com super95 official e10 NL sensor.carbu_com_super95_official_e10_nl
2024-11-05 08:56:42.319 INFO (MainThread) [custom_components.carbu_com] carbu_com register_services
2024-11-05 08:56:42.319 INFO (MainThread) [custom_components.carbu_com] async_register done
2024-11-05 08:57:12.320 INFO (MainThread) [custom_components.carbu_com.sensor] Fetching init stuff for Carbu.com
2024-11-05 08:57:12.320 DEBUG (MainThread) [custom_components.carbu_com.sensor] Starting with session for Carbu.com
2024-11-05 08:57:12.320 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com getting fuel price_info super95 1082 SG, NL, Amsterdam, {'lat': 52.37454030000001, 'lon': 4.897975505617977, 'boundingbox': [[52.2779766, 4.7287776, 52.4310638, 5.1076933], [52.2329766, 4.7737776, 52.386063799999995, 5.1526933], [52.1879766, 4.8187776, 52.34106379999999, 5.1976933]]}, FuelType.SUPER95
2024-11-05 08:57:12.323 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 5.788572987428458, postalcode: 1114 AL, currPrice: 1.819 new price: None
2024-11-05 08:57:12.323 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 4.511139784919006, postalcode: 1033 AV, currPrice: 1.889 new price: None
2024-11-05 08:57:12.323 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 3.2968442694673312, postalcode: 1056 DC, currPrice: 1.919 new price: 1.889
2024-11-05 08:57:12.323 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 2.002137435186998, postalcode: 1021 JV, currPrice: 1.929 new price: 1.889
2024-11-05 08:57:12.323 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 3.9034996488116196, postalcode: 1025 XD, currPrice: 1.929 new price: 1.889
2024-11-05 08:57:12.323 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 3.8813997175226596, postalcode: 1098 RP, currPrice: 1.949 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 3.807877299291239, postalcode: 1079 MS, currPrice: 1.949 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 5.3732749030976965, postalcode: 1115 AD, currPrice: 1.949 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 2.0650583424041673, postalcode: 1051 GZ, currPrice: 1.959 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 4.798651349267307, postalcode: 1096 CK, currPrice: 2.01 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 5.788572987428458, postalcode: 1114 AL, currPrice: 1.819 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 10.86260794619181, postalcode: 1508 EJ, currPrice: 1.859 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 10.11089423319929, postalcode: 1506 JD, currPrice: 1.869 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 9.551232155273166, postalcode: 1506 MB, currPrice: 1.869 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 7.993270830577886, postalcode: 1504 AH, currPrice: 1.879 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 4.511139784919006, postalcode: 1033 AV, currPrice: 1.889 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 9.540659174134277, postalcode: 4285 WZ, currPrice: 1.909 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 7.931361138773978, postalcode: 1191 EA, currPrice: 1.909 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 3.2968442694673312, postalcode: 1056 DC, currPrice: 1.919 new price: 1.889
2024-11-05 08:57:12.324 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 5, currDistance: 3.9034996488116196, postalcode: 1025 XD, currPrice: 1.929 new price: 1.889
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] get_lowest_fuel_price info found: {'price': 1.889, 'distance': 4.511139784919006, 'region': 5, 'localPrice': 1.819, 'diff': 0.07, 'diff30': 2.1, 'diffPct': 3.706, 'supplier': 'Express Amsterdam', 'supplier_brand': 'haan', 'url': 'https://www.brandstof-zoeker.nl/station/haan-express-amsterdam-9', 'entity_picture': None, 'address': 'Appelweg 46', 'postalcode': '1033 AV', 'postalcodes': ['1082 SG', '1033 AV'], 'city': 'Amsterdam', 'latitude': 52.415063, 'longitude': 4.89739, 'fuelname': 'SUPER95', 'fueltype': <FuelType.SUPER95: ('E10', 5, 'benzina', 'euro95', '23', 'regular_gas')>, 'date': '5 november 2024', 'country': 'NL', 'id': 9}
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 5.788572987428458, postalcode: 1114 AL, currPrice: 1.819 new price: None
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 4.511139784919006, postalcode: 1033 AV, currPrice: 1.889 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 3.2968442694673312, postalcode: 1056 DC, currPrice: 1.919 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 2.002137435186998, postalcode: 1021 JV, currPrice: 1.929 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 3.9034996488116196, postalcode: 1025 XD, currPrice: 1.929 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 3.8813997175226596, postalcode: 1098 RP, currPrice: 1.949 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 3.807877299291239, postalcode: 1079 MS, currPrice: 1.949 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 5.3732749030976965, postalcode: 1115 AD, currPrice: 1.949 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 2.0650583424041673, postalcode: 1051 GZ, currPrice: 1.959 new price: 1.819
2024-11-05 08:57:12.325 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 4.798651349267307, postalcode: 1096 CK, currPrice: 2.01 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 5.788572987428458, postalcode: 1114 AL, currPrice: 1.819 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 10.86260794619181, postalcode: 1508 EJ, currPrice: 1.859 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 10.11089423319929, postalcode: 1506 JD, currPrice: 1.869 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 9.551232155273166, postalcode: 1506 MB, currPrice: 1.869 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 7.993270830577886, postalcode: 1504 AH, currPrice: 1.879 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 4.511139784919006, postalcode: 1033 AV, currPrice: 1.889 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 9.540659174134277, postalcode: 4285 WZ, currPrice: 1.909 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 7.931361138773978, postalcode: 1191 EA, currPrice: 1.909 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 3.2968442694673312, postalcode: 1056 DC, currPrice: 1.919 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 10, currDistance: 3.9034996488116196, postalcode: 1025 XD, currPrice: 1.929 new price: 1.819
2024-11-05 08:57:12.326 DEBUG (SyncWorker_61) [custom_components.carbu_com.utils] get_lowest_fuel_price info found: {'price': 1.819, 'distance': 5.788572987428458, 'region': 10, 'localPrice': 1.819, 'diff': 0.0, 'diff30': 0.0, 'diffPct': 0.0, 'supplier': 'Amsterdam', 'supplier_brand': 'Makro', 'url': 'https://www.brandstof-zoeker.nl/station/makro-amsterdam-amsterdam-duivendrecht-8445', 'entity_picture': None, 'address': 'De Flinesstraat 9', 'postalcode': '1114 AL', 'postalcodes': ['1082 SG', '1114 AL'], 'city': 'Amsterdam-Duivendrecht', 'latitude': 52.32558, 'longitude': 4.926653, 'fuelname': 'SUPER95', 'fueltype': <FuelType.SUPER95: ('E10', 5, 'benzina', 'euro95', '23', 'regular_gas')>, 'date': '5 november 2024', 'country': 'NL', 'id': 8445}
2024-11-05 08:57:12.602 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com price_info super95 [{'id': 8445, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/makro-amsterdam-amsterdam-duivendrecht-8445', 'brand': 'Makro', 'address': 'De Flinesstraat 9', 'postalcode': '1114 AL', 'locality': 'Amsterdam-Duivendrecht', 'price': '1.819', 'price_changed': '5 november 2024', 'lat': 52.32558, 'lon': 4.926653, 'fuelname': 'SUPER95', 'distance': 5.788572987428458, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9, 'name': 'Express Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/haan-express-amsterdam-9', 'brand': 'haan', 'address': 'Appelweg 46', 'postalcode': '1033 AV', 'locality': 'Amsterdam', 'price': '1.889', 'price_changed': '5 november 2024', 'lat': 52.415063, 'lon': 4.89739, 'fuelname': 'SUPER95', 'distance': 4.511139784919006, 'date': '5 november 2024', 'country': 'NL'}, {'id': 15, 'name': 'Amsterdam - Hoofdweg', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-hoofdweg-15', 'brand': 'TinQ', 'address': 'Hoofdweg 360', 'postalcode': '1056 DC', 'locality': 'Amsterdam', 'price': '1.919', 'price_changed': '5 november 2024', 'lat': 52.371851, 'lon': 4.849666, 'fuelname': 'SUPER95', 'distance': 3.2968442694673312, 'date': '5 november 2024', 'country': 'NL'}, {'id': 5, 'name': 'Amsterdam Hamerstraat', 'url': 'https://www.brandstof-zoeker.nl/station/tango-amsterdam-hamerstraat-5', 'brand': 'Tango', 'address': 'Hamerstraat 16', 'postalcode': '1021 JV', 'locality': 'Amsterdam', 'price': '1.929', 'price_changed': '5 november 2024', 'lat': 52.384405, 'lon': 4.922612, 'fuelname': 'SUPER95', 'distance': 2.002137435186998, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2703, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/argos-amsterdam-2703', 'brand': 'Argos', 'address': 'Buikslotermeerplein 295', 'postalcode': '1025 XD', 'locality': 'Amsterdam', 'price': '1.929', 'price_changed': '4 november 2024', 'lat': 52.397988, 'lon': 4.940695, 'fuelname': 'SUPER95', 'distance': 3.9034996488116196, 'date': '4 november 2024', 'country': 'NL'}, {'id': 3084, 'name': 'Amsterdam - van Marumstraat', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-van-marumstraat-3084', 'brand': 'TinQ', 'address': 'van Marumstraat 18', 'postalcode': '1098 RP', 'locality': 'Amsterdam', 'price': '1.949', 'price_changed': '5 november 2024', 'lat': 52.350411, 'lon': 4.939192, 'fuelname': 'SUPER95', 'distance': 3.8813997175226596, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9982, 'name': 'Amsterdam - Pr. Kennedylaan', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-pr-kennedylaan-9982', 'brand': 'TinQ', 'address': 'Pr. Kennedylaan 783', 'postalcode': '1079 MS', 'locality': 'Amsterdam', 'price': '1.949', 'price_changed': '5 november 2024', 'lat': 52.340339, 'lon': 4.896975, 'fuelname': 'SUPER95', 'distance': 3.807877299291239, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9995, 'name': 'Duivendrecht - Industrieweg', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-duivendrecht-industrieweg-9995', 'brand': 'TinQ', 'address': 'Industrieweg 19-21', 'postalcode': '1115 AD', 'locality': 'Duivendrecht', 'price': '1.949', 'price_changed': '5 november 2024', 'lat': 52.336502, 'lon': 4.946628, 'fuelname': 'SUPER95', 'distance': 5.3732749030976965, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2760, 'name': 'Amsterdam - van Hallstraat', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-van-hallstraat-2760', 'brand': 'TinQ', 'address': 'van Hallstraat 59', 'postalcode': '1051 GZ', 'locality': 'Amsterdam', 'price': '1.959', 'price_changed': '5 november 2024', 'lat': 52.382821, 'lon': 4.870782, 'fuelname': 'SUPER95', 'distance': 2.0650583424041673, 'date': '5 november 2024', 'country': 'NL'}, {'id': 34, 'name': 'Amsterdam Utrechtse Brug', 'url': 'https://www.brandstof-zoeker.nl/station/esso-amsterdam-utrechtse-brug-34', 'brand': 'Esso', 'address': 'Nieuwe Utrechtseweg 10', 'postalcode': '1096 CK', 'locality': 'Amsterdam', 'price': '2.010', 'price_changed': '5 november 2024', 'lat': 52.332316, 'lon': 4.912185, 'fuelname': 'SUPER95', 'distance': 4.798651349267307, 'date': '5 november 2024', 'country': 'NL'}, {'id': 8445, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/makro-amsterdam-amsterdam-duivendrecht-8445', 'brand': 'Makro', 'address': 'De Flinesstraat 9', 'postalcode': '1114 AL', 'locality': 'Amsterdam-Duivendrecht', 'price': '1.819', 'price_changed': '5 november 2024', 'lat': 52.32558, 'lon': 4.926653, 'fuelname': 'SUPER95', 'distance': 5.788572987428458, 'date': '5 november 2024', 'country': 'NL'}, {'id': 3788, 'name': 'Zaandam', 'url': 'https://www.brandstof-zoeker.nl/station/supertank-zaandam-3788', 'brand': 'SuperTank', 'address': 'Paltrokstraat 17', 'postalcode': '1508 EJ', 'locality': 'Zaandam', 'price': '1.859', 'price_changed': '5 november 2024', 'lat': 52.45806, 'lon': 4.81524, 'fuelname': 'SUPER95', 'distance': 10.86260794619181, 'date': '5 november 2024', 'country': 'NL'}, {'id': 159, 'name': 'Zaandam', 'url': 'https://www.brandstof-zoeker.nl/station/tango-zaandam-159', 'brand': 'Tango', 'address': 'Vincent Van Goghweg 46', 'postalcode': '1506 JD', 'locality': 'Zaandam', 'price': '1.869', 'price_changed': '5 november 2024', 'lat': 52.450443, 'lon': 4.816194, 'fuelname': 'SUPER95', 'distance': 10.11089423319929, 'date': '5 november 2024', 'country': 'NL'}, {'id': 160, 'name': 'ZAANDAM', 'url': 'https://www.brandstof-zoeker.nl/station/lukoil-zaandam-160', 'brand': 'LUKOIL', 'address': 'Provincialeweg 47', 'postalcode': '1506 MB', 'locality': 'ZAANDAM', 'price': '1.869', 'price_changed': '5 november 2024', 'lat': 52.442423, 'lon': 4.811955, 'fuelname': 'SUPER95', 'distance': 9.551232155273166, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2855, 'name': 'Zaandam - De Weer', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-zaandam-de-weer-2855', 'brand': 'TinQ', 'address': 'De Weer 30', 'postalcode': '1504 AH', 'locality': 'Zaandam', 'price': '1.879', 'price_changed': '5 november 2024', 'lat': 52.43843, 'lon': 4.844255, 'fuelname': 'SUPER95', 'distance': 7.993270830577886, 'date': '5 november 2024', 'country': 'NL'}, {'id': 9, 'name': 'Express Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/haan-express-amsterdam-9', 'brand': 'haan', 'address': 'Appelweg 46', 'postalcode': '1033 AV', 'locality': 'Amsterdam', 'price': '1.889', 'price_changed': '5 november 2024', 'lat': 52.415063, 'lon': 4.89739, 'fuelname': 'SUPER95', 'distance': 4.511139784919006, 'date': '5 november 2024', 'country': 'NL'}, {'id': 8149, 'name': 'WOUDRICHEM', 'url': 'https://www.brandstof-zoeker.nl/station/lukoil-woudrichem-8149', 'brand': 'LUKOIL', 'address': 'Almkerkseweg 3C', 'postalcode': '4285 WZ', 'locality': 'WOUDRICHEM', 'price': '1.909', 'price_changed': '5 november 2024', 'lat': 52.442309, 'lon': 4.811968, 'fuelname': 'SUPER95', 'distance': 9.540659174134277, 'date': '5 november 2024', 'country': 'NL'}, {'id': 8470, 'name': 'Ouder-Amstel', 'url': 'https://www.brandstof-zoeker.nl/station/esso-express-ouder-amstel-ouderkerk-aan-de-amstel-8470', 'brand': 'Esso Express', 'address': 'Burg. Stramanweg 98', 'postalcode': '1191 EA', 'locality': 'OUDERKERK AAN DE AMSTEL', 'price': '1.909', 'price_changed': '5 november 2024', 'lat': 52.304933, 'lon': 4.922862, 'fuelname': 'SUPER95', 'distance': 7.931361138773978, 'date': '5 november 2024', 'country': 'NL'}, {'id': 15, 'name': 'Amsterdam - Hoofdweg', 'url': 'https://www.brandstof-zoeker.nl/station/tinq-amsterdam-hoofdweg-15', 'brand': 'TinQ', 'address': 'Hoofdweg 360', 'postalcode': '1056 DC', 'locality': 'Amsterdam', 'price': '1.919', 'price_changed': '5 november 2024', 'lat': 52.371851, 'lon': 4.849666, 'fuelname': 'SUPER95', 'distance': 3.2968442694673312, 'date': '5 november 2024', 'country': 'NL'}, {'id': 2703, 'name': 'Amsterdam', 'url': 'https://www.brandstof-zoeker.nl/station/argos-amsterdam-2703', 'brand': 'Argos', 'address': 'Buikslotermeerplein 295', 'postalcode': '1025 XD', 'locality': 'Amsterdam', 'price': '1.929', 'price_changed': '4 november 2024', 'lat': 52.397988, 'lon': 4.940695, 'fuelname': 'SUPER95', 'distance': 3.9034996488116196, 'date': '4 november 2024', 'country': 'NL'}]
2024-11-05 08:57:12.602 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com getting official price_info super95_official_e10
2024-11-05 08:57:12.972 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com official_info super95_official_e10 Official {}
2024-11-05 08:57:12.972 DEBUG (SyncWorker_54) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 0, currDistance: 5.788572987428458, postalcode: 1114 AL, currPrice: 1.819 new price: None
2024-11-05 08:57:12.972 DEBUG (SyncWorker_54) [custom_components.carbu_com.utils] getStationInfoFromPriceInfo maxDistance: 0, currDistance: 4.511139784919006, postalcode: 1033 AV, currPrice: 1.889 new price: None
2024-11-05 08:57:12.972 DEBUG (SyncWorker_54) [custom_components.carbu_com.utils] get_lowest_fuel_price info found: {'price': 1.889, 'distance': 4.511139784919006, 'region': 0, 'localPrice': 1.819, 'diff': 0.07, 'diff30': 2.1, 'diffPct': 3.706, 'supplier': 'Express Amsterdam', 'supplier_brand': 'haan', 'url': 'https://www.brandstof-zoeker.nl/station/haan-express-amsterdam-9', 'entity_picture': None, 'address': 'Appelweg 46', 'postalcode': '1033 AV', 'postalcodes': ['1082 SG', '1033 AV'], 'city': 'Amsterdam', 'latitude': 52.415063, 'longitude': 4.89739, 'fuelname': 'SUPER95', 'fueltype': <FuelType.SUPER95: ('E10', 5, 'benzina', 'euro95', '23', 'regular_gas')>, 'date': '5 november 2024', 'country': 'NL', 'id': 9}
myTselection commented 2 days ago

ok, thx for reporting this. I'll look into the coming days. It seems the fetching of the official price didn't return any value; might be a temporary issue while the official prices get updated, will need to check. 2024-11-05 08:57:12.602 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com getting official price_info super95_official_e10 2024-11-05 08:57:12.972 DEBUG (MainThread) [custom_components.carbu_com.sensor] Carbu.com official_info super95_official_e10 Official {}

poudenes commented 2 days ago

The debug log for 2 hours

home-assistant_carbu_com_2024-11-05T10-18-25.284Z.log