Giving the sum of entity values to helper in automation

Please follow Community Guidline #11. Share the entire automation, properly formatted… when you post unformatted text it is difficult (and sometimes impossible) for us to identify the source of the issue.