Skip to content

Commit cd0d42a

Browse files
authored
Use state class total_increasing for consumptions in running program (#305)
The properties Water_consumption_in_running_program and Energy_consumption_in_running_program are marked as state_class = total. This is incorrect because the value resets to 0 on the commencements of a new dishwasher cycle. The correct state class for this is therefore total_increasing.
1 parent 8438a02 commit cd0d42a

File tree

1 file changed

+2
-2
lines changed
  • custom_components/connectlife/data_dictionaries

1 file changed

+2
-2
lines changed

custom_components/connectlife/data_dictionaries/015.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ properties:
223223
icon: mdi:folder-open-outline
224224
- property: Energy_consumption_in_running_program
225225
sensor:
226-
state_class: total
226+
state_class: total_increasing
227227
device_class: energy
228228
unit: kWh
229229
multiplier: 0.1
@@ -588,7 +588,7 @@ properties:
588588
- property: Water_consumption_in_running_program
589589
sensor:
590590
unknown_value: 65535
591-
state_class: total
591+
state_class: total_increasing
592592
device_class: water
593593
unit: L
594594
hide: true

0 commit comments

Comments
 (0)