prixCarburant-home-assistant icon indicating copy to clipboard operation
prixCarburant-home-assistant copied to clipboard

Fetch data down

Open 0r1g1ne opened this issue 1 year ago • 0 comments

Hi, Recently bug after restart HA

Logger: homeassistant.components.sensor Source: helpers/entity_platform.py:361 Integration: Capteur (documentation, issues) First occurred: 18:54:07 (1 occurrences) Last logged: 18:54:07

Error while setting up prixCarburant platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/prixCarburant/sensor.py", line 73, in setup_platform stations = client.extractSpecificStation(list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/prixCarburantClient/prixCarburantClient.py", line 159, in extractSpecificStation stationsXML = self.stationsXML ^^^^^^^^^^^^^^^^ AttributeError: 'PrixCarburantClient' object has no attribute 'stationsXML'

Thanks

0r1g1ne avatar Feb 27 '24 18:02 0r1g1ne