mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config out of subfolder
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
sensor:
|
||||
- platform: rest
|
||||
resource: "https://api.github.com/repos/GeorgeSG/lovelace-time-picker-card"
|
||||
name: Time Picker Card stars
|
||||
value_template: '{{ value_json.stargazers_count }}'
|
||||
unit_of_measurement: 'stars'
|
||||
scan_interval:
|
||||
hours: 1
|
||||
headers:
|
||||
Authorization: !secret github_access_token
|
||||
|
||||
- platform: rest
|
||||
resource: "https://api.github.com/repos/GeorgeSG/lovelace-time-picker-card/releases/latest"
|
||||
name: Time Picker Card downloads
|
||||
value_template: '{{ value_json.assets[0].download_count }}'
|
||||
unit_of_measurement: 'downloads'
|
||||
scan_interval:
|
||||
hours: 1
|
||||
headers:
|
||||
Authorization: !secret github_access_token
|
||||
|
||||
- platform: rest
|
||||
resource: "https://api.github.com/repos/GeorgeSG/lovelace-folder-card"
|
||||
name: Folder Card stars
|
||||
value_template: '{{ value_json.stargazers_count }}'
|
||||
unit_of_measurement: 'stars'
|
||||
scan_interval:
|
||||
hours: 1
|
||||
headers:
|
||||
Authorization: !secret github_access_token
|
||||
|
||||
- platform: rest
|
||||
resource: "https://api.github.com/repos/GeorgeSG/lovelace-folder-card/releases/latest"
|
||||
name: Folder Card downloads
|
||||
value_template: '{{ value_json.assets[0].download_count }}'
|
||||
unit_of_measurement: 'downloads'
|
||||
scan_interval:
|
||||
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