From 8babe079d0c484f12d1a7dd4f4b78ef784a5c58a Mon Sep 17 00:00:00 2001 From: David Rapan Date: Mon, 22 Jul 2024 22:38:15 +0200 Subject: [PATCH] fix: SG01HP3 misnamed Import/Export sensors - Sorry guys! --- .../inverter_definitions/deye_sg01hp3.yaml | 20 +++++++++---------- .../inverter_definitions/deye_sg04lp3.yaml | 8 ++++---- .../deye_sun-12k-sg04lp3.yaml | 8 ++++---- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/custom_components/solarman/inverter_definitions/deye_sg01hp3.yaml b/custom_components/solarman/inverter_definitions/deye_sg01hp3.yaml index 8c63294..942189f 100644 --- a/custom_components/solarman/inverter_definitions/deye_sg01hp3.yaml +++ b/custom_components/solarman/inverter_definitions/deye_sg01hp3.yaml @@ -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" @@ -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" @@ -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" @@ -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" diff --git a/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml b/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml index c953458..3012f09 100644 --- a/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml +++ b/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml @@ -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" @@ -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" @@ -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" @@ -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" diff --git a/custom_components/solarman/inverter_definitions/deye_sun-12k-sg04lp3.yaml b/custom_components/solarman/inverter_definitions/deye_sun-12k-sg04lp3.yaml index 8d1baf7..8817bd1 100644 --- a/custom_components/solarman/inverter_definitions/deye_sun-12k-sg04lp3.yaml +++ b/custom_components/solarman/inverter_definitions/deye_sun-12k-sg04lp3.yaml @@ -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" @@ -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" @@ -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" @@ -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"