Add new script blueprints

This commit is contained in:
2024-03-08 14:42:39 -05:00
parent 17c1f71794
commit f13f17ee94
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,31 @@
blueprint:
name: Add to-do
description: A script that adds an item to a to-do list.
domain: script
input:
to_do_list:
selector:
entity:
domain:
- todo
multiple: false
name: To-do list
item_label:
selector:
text: {}
default: Item
name: Item label
source_url: https://community.home-assistant.io/t/add-to-do-item/699193
mode: queued
fields:
item:
selector:
text:
name: !input item_label
required: true
sequence:
- service: todo.add_item
data:
item: '{{ item }}'
target:
entity_id: !input to_do_list