Skip to content

[BUG] - recorder/import_statistics #623

Description

@Marlboro62

Description du bug
Un avertissement de dépréciation apparaît dans les logs concernant l'appel à recorder/import_statistics. L'intégration semble envoyer des métadonnées sans spécifier le mean_type, ce qui deviendra bloquant à partir de la version 2026.11 de Home Assistant Core.

Details

Log d'erreur :

Détails du journal (AVERTISSEMENT)
Enregistreur: homeassistant.components.recorder.websocket_api
Source: components/recorder/websocket_api.py:608
intégration: Recorder ([documentation](https://www.home-assistant.io/integrations/recorder), [problèmes](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+recorder%22))
S'est produit pour la première fois: 17:03:36 (42 occurrences)
Dernier enregistrement: 17:03:38

WS command recorder/import_statistics called without specifying unit_class in metadata, this is deprecated and will stop working in HA Core 2026.11
Configuration (config.yaml)

Type d'installation

  • [ X] Home Assistant OS

Version : 2026.4.4

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions