Skip to content

Commit

Permalink
fix: SG01HP3 misnamed Import/Export sensors
Browse files Browse the repository at this point in the history
- Sorry guys!
  • Loading branch information
davidrapan committed Jul 22, 2024
1 parent f3e598d commit 8babe07
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
20 changes: 10 additions & 10 deletions custom_components/solarman/inverter_definitions/deye_sg01hp3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -931,9 +931,9 @@ parameters:
digits: 2
icon: "mdi:battery-sync"

- name: Today Energy Export
alt: Daily Energy Export
description: Today's energy from the grid
- name: Today Energy Import
alt: Daily Energy Import
description: Today's energy imported from the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -943,9 +943,9 @@ parameters:
registers: [0x0208]
icon: "mdi:transmission-tower-export"

- name: Today Energy Import
alt: Daily Energy Import
description: Today's energy returned to the grid
- name: Today Energy Export
alt: Daily Energy Export
description: Today's energy exported/returned to the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -955,8 +955,8 @@ parameters:
registers: [0x0209]
icon: "mdi:transmission-tower-import"

- name: "Total Energy Export"
description: Total energy from the grid
- name: "Total Energy Import"
description: Total energy imported from the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -966,8 +966,8 @@ parameters:
registers: [0x020A, 0x020B]
icon: "mdi:transmission-tower-export"

- name: "Total Energy Import"
description: Total energy returned to the grid
- name: "Total Energy Export"
description: Total energy exported/returned to the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ parameters:

- name: Today Energy Bought
alt: Daily Energy Bought
description: Today's energy from the grid
description: Today's energy imported from the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -951,7 +951,7 @@ parameters:

- name: Today Energy Sold
alt: Daily Energy Sold
description: Today's energy returned to the grid
description: Today's energy exported/returned to the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -962,7 +962,7 @@ parameters:
icon: "mdi:transmission-tower-import"

- name: "Total Energy Bought"
description: Total energy from the grid
description: Total energy imported from the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -973,7 +973,7 @@ parameters:
icon: "mdi:transmission-tower-export"

- name: "Total Energy Sold"
description: Total energy returned to the grid
description: Total energy exported/returned to the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ parameters:

- name: Today Energy Bought
alt: Daily Energy Bought
description: Today's energy from the grid
description: Today's energy imported from the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -954,7 +954,7 @@ parameters:

- name: Today Energy Sold
alt: Daily Energy Sold
description: Today's energy returned to the grid
description: Today's energy exported/returned to the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -965,7 +965,7 @@ parameters:
icon: "mdi:transmission-tower-import"

- name: "Total Energy Bought"
description: Total energy from the grid
description: Total energy imported from the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand All @@ -976,7 +976,7 @@ parameters:
icon: "mdi:transmission-tower-export"

- name: "Total Energy Sold"
description: Total energy returned to the grid
description: Total energy exported/returned to the grid
update_interval: 30
class: "energy"
state_class: "total_increasing"
Expand Down

0 comments on commit 8babe07

Please sign in to comment.