Current power flow chart does not show Home and Untracked consumption and flow is sometimes incorrect. See screenshot bellow. Unfortunately I cannot post more than one picture, so I merged all screenshots into one.
The difference between Grid and two visible devices is untracked consumption (the fact it is untracked is OK, I did not set it up yet.
When solar panels are producing more power than total consumption, the flow chart is all right, see picture:
When panels are producing less power then consumption, the flow charts show Solar power goes to Grid (sorry, dont have a screenshot).
thx very much for the pointing me in the correct direction. I discovered that the GoodWe inverter reported inverted values, i.e negative for import and positive for export. So I had to create script in YAML to invert the values and everything is working correctly now.