Created
February 8, 2026 22:06
-
-
Save dantz/e05ff5e2c0f8807f7736723d5a86dc10 to your computer and use it in GitHub Desktop.
cookidoo zu bring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: Bewege Cookidoo zu Bring! | |
| description: Kopiere Cookidoo-Einträge zu Bring! und markiere sie als erledigt | |
| triggers: | |
| - entity_id: | |
| - todo.cookidoo_shopping_list | |
| - todo.cookidoo_additional_purchases | |
| trigger: state | |
| actions: | |
| - target: | |
| entity_id: "{{ trigger.entity_id }}" | |
| data: | |
| status: needs_action | |
| response_variable: items | |
| action: todo.get_items | |
| - repeat: | |
| for_each: "{{ items['todo.' + trigger.entity_id.split('.')[1]]['items'] }}" | |
| sequence: | |
| - target: | |
| entity_id: todo.wocheneinkauf | |
| data: | |
| item: "{{ repeat.item.summary }}" | |
| description: "{{ repeat.item.description | default('', true) | string }}" | |
| action: todo.add_item | |
| - target: | |
| entity_id: "{{ trigger.entity_id }}" | |
| data: | |
| item: "{{ repeat.item.summary }}" | |
| status: completed | |
| action: todo.update_item | |
| mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment