diff --git a/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml b/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml index 0560107..4bc5ac2 100644 --- a/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml +++ b/custom_components/solarman/inverter_definitions/deye_sg04lp3.yaml @@ -11,6 +11,9 @@ requests: - start: 0x0085 end: 0x0085 mb_functioncode: 0x03 + - start: 0x01F4 + end: 0x01F4 + mb_functioncode: 0x03 - start: 0x0202 end: 0x022E mb_functioncode: 0x03 @@ -486,6 +489,27 @@ parameters: - group: Inverter items: + - name: "Status" + class: "" + state_class: "" + uom: "" + scale: 1 + rule: 1 + registers: [0x01F4] + isstr: true + lookup: + - key: 0 + value: "Stand-by" + - key: 1 + value: "Self-checking" + - key: 2 + value: "Normal" + - key: 3 + value: "Alarm" + - key: 4 + value: "FAULT" + icon: 'mdi:home-lightning-bolt' + - name: "Current L1" class: "current" state_class: "measurement"