I have 2 lists and I wan’t the sum of the first element of the first en the second list, …
And this should be a new list
{{states("sensor.solcast_24hrs_forecast_garage")}}
{{states("sensor.solcast_24hrs_forecast_huis")}}
{% set garage = states("sensor.solcast_24hrs_forecast_garage") %}
{% set huis = states("sensor.solcast_24hrs_forecast_huis") %}
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 96, 304, 561, 832, 1117, 1414, 1584, 1583, 1567, 1554, 1500, 1412, 1415, 1492, 1373, 1074, 885, 739, 559, 362, 184, 67, 12, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 30, 443, 694, 1079, 1249, 1503, 1620, 1582, 1552, 1539, 1483, 1394, 1378, 1417, 1303, 1055, 893, 780, 684, 507, 325, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
And this is what I need
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 126, 747, .........]
I’m struggling with this for hours and I can’t find a solution