# Gladys Assistant 4.66: Energieverbrauch und Zigbee2mqtt 2.7.1!

**URL:** <https://community.gladysassistant.com/t/gladys-assistant-4-66-suivi-de-lenergie-et-zigbee2mqtt-2-7-1/9854>\
**Category:** Actualités\
**Created:** [8. Dezember 2025 um 14:29 UTC](https://community.gladysassistant.com/t/gladys-assistant-4-66-suivi-de-lenergie-et-zigbee2mqtt-2-7-1/9854 "2025-12-08T14:29:28Z")\
**Posts on this page:** 1\
**Showing post:** 109

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [16. Dezember 2025 um 14:02 UTC](https://community.gladysassistant.com/t/gladys-assistant-4-66-suivi-de-lenergie-et-zigbee2mqtt-2-7-1/9854/109 "2025-12-16T14:02:22Z")

</div>

Hier gemacht:

> <https://github.com/GladysAssistant/Gladys/pull/2404>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] Did you add fake requests data for the demo mode (\`front/src/config/demo.js\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Energy Monitoring : Add UI helper for Tasmota integration
> 
> 
> 
> \## Summary by CodeRabbit
> 
> \* \*\*New Features\*\*
> \* Smarter energy detection and automatic augmentation for discovered devices, including normalization and preservation of derived energy metrics.
> \* Discovery now consults the default electric meter when available to enhance energy feature linking.
> \* Device notification flow made asynchronous with safer fallback behavior.
> 
> \* \*\*Bug Fixes\*\*
> \* Added validation to skip invalid device objects.
> 
> \* \*\*Tests\*\*
> \* Large expansion of tests covering discovery, energy feature handling, notification, and edge cases.

@pierre-gilles, nach mehreren Versuchen bin ich bei dem, was du für die MQTT-Integration gemacht hast, geblieben. Daher gilt dies für alle Integrationen, die Zugriff auf die Änderung der Features haben.

Ich habe tatsächlich nach einer Automatisierung im Stil von zigbee2mqtt gesucht, aber am Ende scheint es mir nicht sinnvoll zu sein, da die Tasmota-Geräte bei der Erstellung eines Geräts 3 NRJ erstellen:

- Gesamtenergie
- Energie heute
- Energie gestern  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/b/fb6ad18628acc8294c128b5e1d0c83ca60de20af.png) ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/6/5/657223b2b6397ee6cf3cf9c08acf2518b6a47cf9.png) ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/3/0/303dce3612b1ca7ff03c251de0cdff6efab17b8e.png)

Sie sind nicht nach Typ unterschieden, und daher haben die letzten beiden keinen Sinn, um sie in Verbrauch/Kosten zu übertragen.

Ich habe mich daher dafür entschieden, sie immer manuell zu erstellen. Lohnt es sich, einen Helper beim Hinzufügen eines neuen Geräts zu erstellen, das mindestens ein Energy-Feature enthält, um anzuzeigen, dass es manuell erstellt werden soll?

---

_[View the full topic](https://community.gladysassistant.com/t/gladys-assistant-4-66-suivi-de-lenergie-et-zigbee2mqtt-2-7-1/9854)._
