Bonjour,
J’ai installer une nouvelle station météo il y qq semaines. Intégration Ecowitt et récupération des données sans problème.
Je viens de me rendre compte de l’apparition de defauts
apres une mise a jour.
l’un de vous pourrait-il m’éclairer et me dire que faire ?
Merci d’avance.
Si tu ne tiens pas a tes statistiques a long terme tu peux corriger le problème. Sinon la discussion sur le soucis est ici :
ouvert 02:09AM - 04 Dec 25 UTC
integration: ecowitt
### The problem
As noted in https://github.com/home-assistant/core/pull/155812 … included in the [change log for 2025.12.0](https://www.home-assistant.io/changelogs/core-2025.12), as suggested [here](https://github.com/home-assistant/core/pull/155358/files), rather than have rain sensors with a state class of total, the state class was removed.
This results in the repairs for all of the associated rain entities:
<img width="581" height="548" alt="Image" src="https://github.com/user-attachments/assets/95c1c22e-8394-4dde-b78c-c66d655f5072" />
<img width="2287" height="361" alt="Image" src="https://github.com/user-attachments/assets/817798af-96a4-479a-9dd2-dbf510b3dadf" />
However, it should be noted that the fix - deleting long term statistics - is not a useful fix: the long term statistics are actually useful, and the [former state class of total](https://developers.home-assistant.io/docs/core/entity/sensor/#entities-representing-a-total-amount) is correct: _Entities tracking a total amount have a value that may optionally reset periodically_ - the Ecowitt sensors are not a moving window, but reset on boundaries - e.g. daily, weekly, monthly, etc.
<img width="2279" height="518" alt="Image" src="https://github.com/user-attachments/assets/cebf7d3a-08ec-47bb-9e22-5a296684563c" />
This history chart of weekly and monthly stats clearly shows the resetting nature of the sensors:

### What version of Home Assistant Core has the issue?
core-2025.12.0
### What was the last working version of Home Assistant Core?
core-2025.11.3
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Ecowitt
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/ecowitt
### Diagnostics information
[ecowitt-5b58a9310031db4cf36c0d93425fa3f5-GW1100C-885f4e2ed564cfb24b2a61fdbb140a73.json](https://github.com/user-attachments/files/23920146/ecowitt-5b58a9310031db4cf36c0d93425fa3f5-GW1100C-885f4e2ed564cfb24b2a61fdbb140a73.json)
### Example YAML snippet
```yaml
```
### Anything in the logs that might be useful for us?
```txt
Nothing found - searched for ecowitt.
```
### Additional information
Repairs listing:
``` json
{
"version": 1,
"minor_version": 2,
"key": "repairs.issue_registry",
"data": {
"issues": [
{
"created": "2025-12-03T22:55:10.200269+00:00",
"dismissed_version": null,
"domain": "sensor",
"is_persistent": false,
"issue_id": "state_class_removed_sensor.gw1100c_event_rain_rate"
},
{
"created": "2025-12-03T22:55:10.201103+00:00",
"dismissed_version": null,
"domain": "sensor",
"is_persistent": false,
"issue_id": "state_class_removed_sensor.gw1100c_hourly_rain_rate"
},
{
"created": "2025-12-03T22:55:10.201906+00:00",
"dismissed_version": null,
"domain": "sensor",
"is_persistent": false,
"issue_id": "state_class_removed_sensor.gw1100c_daily_rain_rate"
},
{
"created": "2025-12-03T22:55:10.202833+00:00",
"dismissed_version": null,
"domain": "sensor",
"is_persistent": false,
"issue_id": "state_class_removed_sensor.gw1100c_weekly_rain_rate"
},
{
"created": "2025-12-03T22:55:10.203908+00:00",
"dismissed_version": null,
"domain": "sensor",
"is_persistent": false,
"issue_id": "state_class_removed_sensor.gw1100c_monthly_rain_rate"
},
{
"created": "2025-12-03T22:55:10.204759+00:00",
"dismissed_version": null,
"domain": "sensor",
"is_persistent": false,
"issue_id": "state_class_removed_sensor.gw1100c_yearly_rain_rate"
},
{
"created": "2025-12-03T22:55:10.205763+00:00",
"dismissed_version": null,
"domain": "sensor",
"is_persistent": false,
"issue_id": "state_class_removed_sensor.gw1100c_24h_rain"
}
]
}
}
```
Merci de votre réponse.
Le problème est donc connu.
Je suis trop novice pour savoir quoi faire avec le lien github. Je vais donc patienter et laisser le temps aux sachants de résoudre ce bogue.
Merci
C’est pas un bug mais une nouvelle gestion. A voir si ha va revenir en arrière. Pour l’instant si pas besoin des stat a long terme, utiliser la fonction corrigé règle ça.
Bonjour,
Je ne suis pas sûr d’avoir compris le fil git. Si on veut utiliser les statistiques à long terme il faut attendre un éventuel changement c’est ça ?
Merci !
Donc en gros je vais attendre
Sauf que rien ne dit qu’il va y avoir du changement