ssenart / ha-custom_components

Some custom components for Home Assistant
MIT License
4 stars 1 forks source link

User warning boolean series key #6

Open Patbonamy opened 4 months ago

Patbonamy commented 4 months ago

Cette erreur provient d'une intégration personnalisée

Enregistreur: py.warnings Source: custom_components/gazpar/sensor.py:138 intégration: gazpar (documentation, problèmes) S'est produit pour la première fois: 8 juin 2024 à 08:19:28 (12 occurrences) Dernier enregistrement: 08:19:16

/usr/local/lib/python3.12/site-packages/pygazpar/datasource.py:469: UserWarning: Boolean Series key will be reindexed to match DataFrame index. df = pd.concat([df[(df["count"] >= 7)], df.tail(1)[df["count"] < 7]]) /usr/local/lib/python3.12/site-packages/pygazpar/datasource.py:497: UserWarning: Boolean Series key will be reindexed to match DataFrame index. df = pd.concat([df[(df["count"] >= 28)], df.tail(1)[df["count"] < 28]]) /usr/local/lib/python3.12/site-packages/pygazpar/datasource.py:528: UserWarning: Boolean Series key will be reindexed to match DataFrame index. df = pd.concat([df[(df["count"] >= 360)], df.tail(1)[df["count"] < 360]])