Update template sensor definitions to current standard, close #109

This commit is contained in:
2023-08-25 18:29:12 -04:00
parent 11d18595b0
commit ba0a90a990
20 changed files with 2859 additions and 2972 deletions

View File

@ -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