1
0

Merge supplies shopping button in kitchen

This commit is contained in:
Przemek Grondek 2024-08-22 22:48:01 +02:00
parent ee242e5811
commit 3a1cba28ba
2 changed files with 24 additions and 4 deletions

View File

@ -1,5 +1,5 @@
- id: kitchen_shopping_oatmeal - id: kitchen_shopping_supplies
alias: '[Kitchen][Shopping] Oatmeal' alias: '[Kitchen][Shopping] Supplies'
trigger: trigger:
- device_id: 99f942bf6462d2372012278e086721bf - device_id: 99f942bf6462d2372012278e086721bf
domain: zha domain: zha
@ -8,9 +8,21 @@
subtype: remote_button_short_press subtype: remote_button_short_press
condition: [ ] condition: [ ]
action: action:
- service: shopping_list.add_item - service: notify.mobile_app_iphone
data: data:
name: Płatki owsiane message: Co dodać do listy zakupów?
data:
actions:
- action: SHOPPING_SALT
title: Sól
- action: SHOPPING_OATMEAL
title: Płatki owsiane
- action: SHOPPING_PASTA
title: Makaron
- action: SHOPPING_CORN_FLOUR
title: Mąka kukurydziana
- action: SHOPPING_WATER
title: Woda
- id: kitchen_shopping_pasta - id: kitchen_shopping_pasta
alias: '[Kitchen][Shopping] Pasta' alias: '[Kitchen][Shopping] Pasta'

View File

@ -25,3 +25,11 @@ shopping_list:
title: Czosnek title: Czosnek
- action: SHOPPING_SALT - action: SHOPPING_SALT
title: Sól title: Sól
- action: SHOPPING_OATMEAL
title: Płatki owsiane
- action: SHOPPING_PASTA
title: Makaron
- action: SHOPPING_CORN_FLOUR
title: Mąka kukurydziana
- action: SHOPPING_WATER
title: Woda