mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 11:26:39 +00:00
[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:
co-authored by
Claude
pre-commit-ci-lite[bot]
parent
00303fb72b
commit
ca74e71348
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user