StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
510 stars 190 forks source link

Invalid "Operating Status" in Solis Hybrid definition #404

Open Kdceddj opened 9 months ago

Kdceddj commented 9 months ago

In the Solis Modbus spec, Operating Status (Working Status) is defined as follows: image

However, the lookup in the solis_hybrid.yaml seems to be incorrect:

      lookup:
      -  key: 0x701
         value: "Normal Operation"
      -  key: 0x702
         value: "Initial Standby"
      -  key: 0x704
         value: "Control Shutdown"
      -  key: 0x708
         value: "Downtime"
      -  key: 0x710
         value: "Standby"
      -  key: 0x720
         value: "Derating Operation"
      -  key: 0x740
         value: "Limit Operation"
      -  key: 0x780
         value: "Bypass Overload"

In my case, Operating Status shows a value of 8 in HA, while it should show one of the text values from the above lookup.