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

Mauvais device_class pour sensor.gazpar_m3 #21

Open
DamGranger opened this issue Dec 1, 2021 · 0 comments
Open

Mauvais device_class pour sensor.gazpar_m3 #21

DamGranger opened this issue Dec 1, 2021 · 0 comments
Assignees

Comments

@DamGranger
Copy link

Le device_class pour des sensor en volume doit être gas et non energy.

Voici ce que j'ai sur le sensor.gazpar_m3 :

state_class: total_increasing
unit_of_measurement: m³
friendly_name: Gazpar m3
icon: mdi:fire
device_class: energy

La documentation indique bien que les volumes doivent être remontés sur un device_class: gas
https://www.home-assistant.io/integrations/sensor/#device-class

energy: Energy in Wh or kWh.
gas: Gasvolume in m³ or ft³.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants