Skip to content

Commit

Permalink
Move command_line sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
pgorod authored Nov 24, 2023
1 parent e90c25b commit fb9e623
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,15 @@ This card can be configured using Lovelace UI editor.
- project_notes
scan_interval: 30
- name: label_colors
platform: command_line
command: !secret todoist_cmd_with_api_token
value_template: >
command_line:
- sensor:
name: label_colors
command: !secret todoist_cmd_with_api_token
value_template: >
{{ value_json.label_colors | length }}
json_attributes:
- label_colors
scan_interval: 200
json_attributes:
- label_colors
scan_interval: 200
rest_command:
todoist:
Expand Down

0 comments on commit fb9e623

Please sign in to comment.