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

3x mislabeled expose "energy_consumed" in the database #11476

Closed
createcandle opened this issue Feb 18, 2022 · 4 comments
Closed

3x mislabeled expose "energy_consumed" in the database #11476

createcandle opened this issue Feb 18, 2022 · 4 comments
Labels
problem Something isn't working

Comments

@createcandle
Copy link

createcandle commented Feb 18, 2022

What happened?

I found another mislabeled expose name, for the same three devices as before.

Most devices use "energy" to denote how much Kwh they're used.

https://www.zigbee2mqtt.io/supported-devices/#e=energy

These three devices expose energy_consumed instead:

https://www.zigbee2mqtt.io/supported-devices/#e=energy_consumed

What did you expect to happen?

I wanted to find all devices that measure energy use in the devices database

How to reproduce it (minimal and precise)

Use the device database

Zigbee2MQTT version

not relevent

Adapter firmware version

not relevant

Adapter

not relevant

Debug log

No response

@createcandle createcandle added the problem Something isn't working label Feb 18, 2022
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Feb 18, 2022
@Koenkk
Copy link
Owner

Koenkk commented Feb 18, 2022

Also added the energy expose, decided to keep energy_consumed since not only the spelling is different (to prevent a breaking change).

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@createcandle
Copy link
Author

Cool.

That pull requests seems to also change some other variables in the Tuya file? Variables not related to this issue? I'm assuming that's just because you were also making some other changes.

@Koenkk
Copy link
Owner

Koenkk commented Feb 19, 2022

That pull requests seems to also change some other variables in the Tuya file? Variables not related to this issue?

If you mean the exposes, I've cleaned that up a bit, the end result will be identical

@createcandle
Copy link
Author

Yes that's what I meant. Cool, just checking :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant