slipx06 / sunsynk-power-flow-card

⚡A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
MIT License
199 stars 55 forks source link

Solax - grid status not correctly reported #215

Closed z-vrba closed 9 months ago

z-vrba commented 9 months ago

Is there an existing issue for this?

Current Behavior

Not recognizing grid status of Solax correctly. Solax entity sensor.solax_grid_status returns "OnGrid" string and sunsynk-power-flow-card accept "On Grid" string.

I use Solax X3 G4 with modbus integration Solax.

Steps To Reproduce

No response

Expected behaviour

Accept "OnGrid", "OffGrid" strings.

Card Version

V4.10.1

Home Assistant Version

2024.1.3

Configuration

grid_connected_status_194: sensor.solax_grid_status

Relevant log output

No response

slipx06 commented 9 months ago

I will add those for you