Open rpooley opened 8 months ago
Would it be possible to add the following for the sofar_wifikit.yaml:
- name: "Battery Total Energy Charged" class: "energy" state_class: "total" uom: "kWh" scale: 1 rule: 1 registers: [0x0227] icon: 'mdi:battery-clock' - name: "Battery Total Energy Dischaged" class: "energy" state_class: "total" uom: "kWh" scale: 1 rule: 1 registers: [0x0229] icon: 'mdi:battery-clock-outline' - name: "Battery Total Charge" class: "energy" state_class: "total" uom: "KWh" scale: 1 rule: 3 registers: [0x0227,0x0226] icon: 'mdi:battery' - name: "Battery Total Discharge" class: "energy" state_class: "total" uom: "KWh" scale: 1 rule: 3 registers: [0x0229,0x0228] icon: 'mdi:battery' - name: "Battery Cycles" class: "" state_class: "" uom: "Charges" scale: 1 rule: 1 registers: [0x022C] icon: 'mdi:battery-check-outline'
Would it be possible to add the following for the sofar_wifikit.yaml: