Update template sensor definitions to current standard, close #109
This commit is contained in:
@ -78,6 +78,21 @@ input_datetime:
|
||||
has_time: true
|
||||
icon: mdi:alarm
|
||||
|
||||
sensor:
|
||||
- platform: rest
|
||||
name: Kallen Tasks
|
||||
method: GET
|
||||
resource: 'https://api.todoist.com/sync/v9/projects/get_data'
|
||||
params:
|
||||
project_id: 2285969005
|
||||
headers:
|
||||
Authorization: !secret todoist_api_token
|
||||
value_template: '{{value_json[''project''][''id'']}}'
|
||||
json_attributes:
|
||||
- project
|
||||
- items
|
||||
scan_interval: 30
|
||||
|
||||
automation:
|
||||
- id: 67fbdb66-b94b-4351-86de-a388d601e93c
|
||||
alias: Kallen Meds Handler
|
||||
|
Reference in New Issue
Block a user