Skip to content

Commit cec57bc

Browse files
committed
examples: Fix HA script class for energy_kWh (closes #3255)
1 parent 73b4750 commit cec57bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/rtl_433_mqtt_hass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@
602602
"name": "Energy",
603603
"unit_of_measurement": "kWh",
604604
"value_template": "{{ value|float }}",
605-
"state_class": "measurement"
605+
"state_class": "total_increasing"
606606
}
607607
},
608608

0 commit comments

Comments
 (0)