earion68 / hass_custom_bbox

Custom Home Assistant integration for Bbox
7 stars 4 forks source link

Deprecated constants #2

Closed JimmyTournemaine closed 10 months ago

JimmyTournemaine commented 10 months ago

Bonjour,

Merci pour le repo qui a résolu mon problème de connexion a ma bbox. Je me permets de te remonter des avertissement de dépréciation qui me sont remontées dans les logs.

2024-01-26 12:34:46.284 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from custom_bbox, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'custom_bbox' custom integration
2024-01-26 12:34:46.296 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from custom_bbox, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'custom_bbox' custom integration
2024-01-26 12:34:46.307 WARNING (MainThread) [homeassistant.const] DATA_RATE_MEGABITS_PER_SECOND was used from custom_bbox, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.MEGABITS_PER_SECOND instead, please report it to the author of the 'custom_bbox' custom integration
2024-01-26 12:34:46.318 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_TIMESTAMP was used from custom_bbox, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TIMESTAMP instead, please report it to the author of the 'custom_bbox' custom integration

Je peux regarder pour te faire une PR si tu le souhaites.