Skip to content

Commit 52a49c5

Browse files
authored
Merge pull request #5 from nijel/patch-1
Add device_class: energy to Daily Energy
2 parents e4f0e21 + 3332f70 commit 52a49c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

localbytes-plug-pm.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ sensor:
238238
# Total daily energy sensor
239239
- platform: total_daily_energy
240240
name: "Daily Energy"
241+
device_class: energy
241242
power_id: power
242243
filters:
243244
# Multiplication factor from W to kW is 0.001
@@ -308,4 +309,4 @@ button:
308309
- platform: restart
309310
name: "Restart"
310311
- platform: factory_reset
311-
name: "Restart with Factory Default Settings"
312+
name: "Restart with Factory Default Settings"

0 commit comments

Comments
 (0)