I have created a helper sensor-template to combine to power sensors (I have PV on two roof sides and would like to get the combined/total power value).
The help template works a expected, but only as of the time I installed/set it.
I would like to get the sensor data back till any the other sensor provided data.
How can I achive this.
(This shall be (basically) a one-time action.)
The template code
{{ [ states('sensor.solarman_pv1_power'),
states('sensor.solarman_pv2_power') ]
| map('float') | sum }}
This is the template: