Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avertissement HomeAssistant - constante à modifier avant HA Core 2025.1 #30

Closed
pics76 opened this issue Jan 5, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@pics76
Copy link

pics76 commented Jan 5, 2024

Pas d'urgence mais peut-être à traiter avant les changements...

Logger: homeassistant.const
Source: helpers/deprecation.py:204
First occurred: 4 janvier 2024 à 17:56:11 (1 occurrences)
Last logged: 4 janvier 2024 à 17:56:11

VOLUME_LITERS was used from veolia, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please create a bug report at https://github.com/kugan49/veolia-custom-component-HACS/issues**

@kugan49 kugan49 self-assigned this Jan 5, 2024
@LGO44
Copy link

LGO44 commented Jan 22, 2024

Dans entity.py remplacer from homeassistant.const import VOLUME_LITERS par from homeassistant.const import UnitOfVolume

entity.py
"""VeoliaEntity class."""
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity
#from homeassistant.const import VOLUME_LITERS
from homeassistant.const import UnitOfVolume
from homeassistant.helpers.update_coordinator import CoordinatorEntity

@kugan49 kugan49 added the bug Something isn't working label Jan 22, 2024
@kugan49
Copy link
Owner

kugan49 commented Sep 30, 2024

@kugan49 kugan49 closed this as completed Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants