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

Error while setting up prixCarburant platform for sensor

Open Mick51 opened this issue 3 years ago • 2 comments

Hi, I have this error on the latest versions of home assistant.

`Logger: homeassistant.components.sensor Source: custom_components/prixCarburant/sensor.py:73 Integration: Capteur (documentation, issues) First occurred: 09:58:18 (1 occurrences) Last logged: 09:58:18

Error while setting up prixCarburant platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, 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.9/site-packages/prixCarburantClient/prixCarburantClient.py", line 163, in extractSpecificStation stationsXML = self.stationsXML AttributeError: 'PrixCarburantClient' object has no attribute 'stationsXML' `

Mick51 avatar Feb 16 '22 09:02 Mick51

Hello, j'ai le même problème :)

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/prixCarburant/sensor.py", line 65, in setup_platform stations = client.foundNearestStation() File "/usr/local/lib/python3.9/site-packages/prixCarburantClient/prixCarburantClient.py", line 207, in foundNearestStation stationsXML = self.stationsXML AttributeError: 'PrixCarburantClient' object has no attribute 'stationsXML'

forzewin avatar Feb 16 '22 15:02 forzewin

Même problème de mon côté

pbranly avatar Feb 17 '22 14:02 pbranly