mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-11-03 19:28:43 +00:00
Add Slack User to github config
This commit is contained in:
@@ -85,6 +85,9 @@ cards:
|
||||
name: Folder Card · Downloads
|
||||
- entity: sensor.folder_card_stars
|
||||
icon: mdi:star
|
||||
name: Slack User · Stars
|
||||
- entity: sensor.slack_user_stars
|
||||
icon: mdi:slack
|
||||
name: Folder Card · Stars
|
||||
|
||||
- type: "custom:weather-card"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user