Adding my Home Tech task list to Home Assistant

This commit is contained in:
2022-07-15 17:01:20 -04:00
parent 2ec7f577a8
commit 3cec5a7256

View File

@ -20,3 +20,14 @@
json_attributes: json_attributes:
- items - items
scan_interval: 30 scan_interval: 30
- platform: rest
name: Home Tech
method: GET
resource: 'https://api.todoist.com/sync/v8/projects/get_data'
params:
token: !secret todoist_api_token
project_id: 2285967948
value_template: '{{value_json[''project''][''id'']}}'
json_attributes:
- items
scan_interval: 30