Open BeardedTinker opened 1 year ago
There is following error in GitHub notifications script:
_Logger: homeassistant.helpers.template Source: helpers/template.py:232 First occurred: 12:08:16 AM (18 occurrences) Last logged: 9:00:00 AM
Template variable warning: 'dict object' has no attribute 'comment' when rendering '{%- if trigger.json.pull_request | default(false) -%} Pull request {% if trigger.json.comment %} New comment on {{trigger.json.pull_request.title }} - Pull Request #{{ trigger.json.pull_request.number}} from {{ trigger.json.comment.sender.login }} {%- else -%} {{ trigger.json.pull_request.title }} - Pull Request #{{ trigger.json.pull_request.number}} {{ trigger.json.action}} by {{trigger.json.sender.login}} {% endif -%} {{trigger.json.pull_request.html_url}} {%- elif trigger.json.issue | default(false) -%} {% if trigger.json.comment %} New comment on {{trigger.json.issue.title }} - Issue #{{ trigger.json.issue.number}} from {{ trigger.json.comment.user.login }} {% else -%} {{ trigger.json.issue.title }} - Issue #{{ trigger.json.issue.number}} {{ trigger.json.action }} by {{trigger.json.sender.login}} {% endif -%} {{trigger.json.issue.html_url}} {%- elif trigger.json.ref | default(false) %} {{ trigger.json.commits | count }} commits pushed to Home-Assistant_config: {% for commit in trigger.json.commits -%} {{commit.message}} {%- endfor %} https://github.com/BeardedTinker/Home-Assistant_Config/commits/master {%- endif %}'_
Need to go and check everything. Tried it to fix it quickly but failed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
There is following error in GitHub notifications script:
_Logger: homeassistant.helpers.template Source: helpers/template.py:232 First occurred: 12:08:16 AM (18 occurrences) Last logged: 9:00:00 AM
Template variable warning: 'dict object' has no attribute 'comment' when rendering '{%- if trigger.json.pull_request | default(false) -%} Pull request {% if trigger.json.comment %} New comment on {{trigger.json.pull_request.title }} - Pull Request #{{ trigger.json.pull_request.number}} from {{ trigger.json.comment.sender.login }} {%- else -%} {{ trigger.json.pull_request.title }} - Pull Request #{{ trigger.json.pull_request.number}} {{ trigger.json.action}} by {{trigger.json.sender.login}} {% endif -%} {{trigger.json.pull_request.html_url}} {%- elif trigger.json.issue | default(false) -%} {% if trigger.json.comment %} New comment on {{trigger.json.issue.title }} - Issue #{{ trigger.json.issue.number}} from {{ trigger.json.comment.user.login }} {% else -%} {{ trigger.json.issue.title }} - Issue #{{ trigger.json.issue.number}} {{ trigger.json.action }} by {{trigger.json.sender.login}} {% endif -%} {{trigger.json.issue.html_url}} {%- elif trigger.json.ref | default(false) %} {{ trigger.json.commits | count }} commits pushed to Home-Assistant_config: {% for commit in trigger.json.commits -%} {{commit.message}} {%- endfor %} https://github.com/BeardedTinker/Home-Assistant_Config/commits/master {%- endif %}'_
Need to go and check everything. Tried it to fix it quickly but failed.