Add Slack User to github config

This commit is contained in:
2021-06-12 15:54:24 +03:00
parent 1f5be9c170
commit f2286051bf
2 changed files with 13 additions and 0 deletions
+10
View File
@@ -38,3 +38,13 @@ sensor:
hours: 1
headers:
Authorization: !secret github_access_token
- platform: rest
resource: "https://api.github.com/repos/GeorgeSG/ha-slack-user"
name: Slack User stars
value_template: '{{ value_json.stargazers_count }}'
unit_of_measurement: 'stars'
scan_interval:
hours: 1
headers:
Authorization: !secret github_access_token