Hey guys,
i just recently got my new solar inverter and am now trying to integrate it into home assistant.
While doing that i am struggeling with the energy dashboad.
According to the dokumentation when using a batterie i should split the Power grid
entity into positive on import and negative on export by using templates and helpers…
Since i am fairly new to home assistant i was wondering if someone could point me into the right direction.
The code which should be used is max(states(sensor.solarnet_power_grid) | float, 0) and max(0 - states(sensor.solarnet_power_grid) | float, 0)
.
Do i build a template sensor in the configuration.yaml?
I would appreciate any suggestions.
Thanks in advance,
Moet