Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Correction documentation et sensor #14

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Conversation

ryann72
Copy link
Contributor

@ryann72 ryann72 commented Jan 20, 2022

Correction de la documentation
Adaptation sensor pour ha 2021.12

ryann72 and others added 5 commits January 8, 2022 18:20
Complément d'information sur l'installation
Correction du nouveau attribut ancien bientôt obsolète
@Mick51
Copy link

Mick51 commented Feb 11, 2022

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

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'`

@ryann72
Copy link
Contributor Author

ryann72 commented Feb 12, 2022

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

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'`

As tu regardé avec ma version
https://github.com/ryann72/prixCarburant-home-assistant

Celle de max est en retard de plusieurs commit

@Mick51
Copy link

Mick51 commented Feb 12, 2022

Logger: homeassistant.components.sensor Source: custom_components/prixCarburant/sensor.py:73 Integration: Capteur ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22)) First occurred: 00:24:05 (1 occurrences) Last logged: 00:24:05 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'

As tu regardé avec ma version https://github.com/ryann72/prixCarburant-home-assistant

Celle de max est en retard de plusieurs commit

C'est justement celle que j'utilise, et j'ai eu cette erreur cette nuit, et régulièrement il galère à mettre les prix à jours, toujours des avertissements comme quoi les récupération de prix est trop longue....... Mais je l'ai avec d'autre addon également, quelques chose à changé dans les nouvelles versions de home assistant qui créer des avertissement régulièrement sur cette addon...... 😉

@ryann72
Copy link
Contributor Author

ryann72 commented Feb 12, 2022

Tu es sur quelle version de ha ?
J'ai pas encore pris le temps de monter la 2022.02 sur ma configuration.

@Mick51
Copy link

Mick51 commented Feb 12, 2022

Tu es sur quelle version de ha ? J'ai pas encore pris le temps de monter la 2022.02 sur ma configuration.

J'ai tout mis à jour sur les dernières versions srable en date qui te sont proposées. 😉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants