Skip to content

Commit

Permalink
Merge pull request #34 from bkbartk/master
Browse files Browse the repository at this point in the history
add device class for energy dashboard
  • Loading branch information
Mosibi authored Oct 1, 2024
2 parents 70c4997 + c324b06 commit 173fb47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions heatpump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@ sensor:
id: "${devicename}_electricity_consumption"
register_type: holding
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
address: 0x8f
value_type: U_DWORD
Expand All @@ -757,6 +758,7 @@ sensor:
id: "${devicename}_power_output"
register_type: holding
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
address: 0x91
value_type: U_DWORD
Expand Down

0 comments on commit 173fb47

Please sign in to comment.