Skip to content

Commit

Permalink
refactor: Incorrectly named Total Grid Production
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Sep 22, 2024
1 parent b2a4fdd commit 194c0f5
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions custom_components/solarman/inverter_definitions/deye_hybrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,28 @@ parameters:
registers: [0x00AB]
icon: "mdi:transmission-tower"

- name: "Today Energy"
alt: Daily Energy
friendly_name: Today's Energy
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 2
registers: [0x003C]
icon: "mdi:transmission-tower"

- name: "Total Energy"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 4
registers: [0x003F, 0x0040]
icon: "mdi:transmission-tower"
validation:
min: 0.1

- name: Today Energy Import
alt: Today Energy Bought
friendly_name: Today's Energy Import
Expand Down Expand Up @@ -450,17 +472,6 @@ parameters:
validation:
min: 0.1

- name: "Total Grid Production"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 4
registers: [0x003F, 0x0040]
icon: "mdi:transmission-tower"
validation:
min: 0.1

- group: Upload
items:
- name: "Load Power"
Expand Down

0 comments on commit 194c0f5

Please sign in to comment.