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

@ -38,6 +38,21 @@ input_datetime:
has_time: true
icon: mdi:medical-bag
sensor:
- platform: rest
name: Home Tech
method: GET
resource: 'https://api.todoist.com/sync/v9/projects/get_data'
params:
project_id: 2285967948
headers:
Authorization: !secret todoist_api_token
value_template: '{{value_json[''project''][''id'']}}'
json_attributes:
- project
- items
scan_interval: 30
automation:
- id: c583aebf-4500-412c-9436-e1b534ba1a44
alias: Tony Meds Handler