diff --git a/roles/automations/files/shopping.yaml b/roles/automations/files/shopping.yaml index ccfdbff..f16255b 100644 --- a/roles/automations/files/shopping.yaml +++ b/roles/automations/files/shopping.yaml @@ -1,5 +1,5 @@ -- id: kitchen_shopping_oatmeal - alias: '[Kitchen][Shopping] Oatmeal' +- id: kitchen_shopping_supplies + alias: '[Kitchen][Shopping] Supplies' trigger: - device_id: 99f942bf6462d2372012278e086721bf domain: zha @@ -8,9 +8,21 @@ subtype: remote_button_short_press condition: [ ] action: - - service: shopping_list.add_item + - service: notify.mobile_app_iphone 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 alias: '[Kitchen][Shopping] Pasta' diff --git a/vars/shopping-list.yml b/vars/shopping-list.yml index 259a093..25a3bc8 100644 --- a/vars/shopping-list.yml +++ b/vars/shopping-list.yml @@ -25,3 +25,11 @@ shopping_list: title: Czosnek - 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