[emontx] Use total state class for energy sensors (#20128)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
Frédéric Metrich
2026-10-05 09:16:21 -05:00
committed by GitHub
co-authored by Claude pre-commit-ci-lite[bot]
parent 00303fb72b
commit ca74e71348
3 changed files with 8 additions and 8 deletions
@@ -8,7 +8,7 @@ packages:
# exercised, not the user-override path.
sensor:
# Energy sensor (E prefix): expects state_class=total_increasing, unit=Wh,
# Energy sensor (E prefix): expects state_class=total, unit=Wh,
# device_class=energy, accuracy_decimals=0
- platform: emontx
tag_name: E1