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
161 stars 48 forks source link

Add the direction of the energy flow from the grid #469

Closed matomatusov closed 3 weeks ago

matomatusov commented 4 weeks ago

Is there an existing issue for this?

Current Behavior

If the power is taken from the grid, the direction is not displayed. If I send power to the grid, the direction is displayed.

Steps To Reproduce

No response

Expected behaviour

Would it be possible to add the direction of the energy flow from the grid? 1

Card Version

4.40.1

Home Assistant Version

2024.5.4

Configuration

No response

Relevant log output

No response

slipx06 commented 3 weeks ago

I guess the assumption was that most people don't feed back to the grid so the normal grid icon would be sufficient.

matomatusov commented 3 weeks ago

If there is no solar or battery power, the icon could show that the direction is from the grid. The current grid icon can also remain.

slipx06 commented 3 weeks ago

@matomatusov In the latest release you can achieve this by adding this to your config:

grid:
  import_icon: mdi:transmission-tower-export