1
0
ansible-home-assistant/configuration/automations/shopping.yaml

86 lines
2.5 KiB
YAML
Raw Normal View History

2023-10-04 22:34:41 +00:00
- id: kitchen_shopping_oatmeal
alias: '[Kitchen][Shopping] Oatmeal'
trigger:
- device_id: 99f942bf6462d2372012278e086721bf
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
condition: [ ]
action:
- service: shopping_list.add_item
data:
name: Płatki owsiane
- id: kitchen_shopping_pasta
alias: '[Kitchen][Shopping] Pasta'
trigger:
- device_id: 75e43fd0f6c82fb9e7bc6ff7c30b8c9a
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
condition: [ ]
action:
- service: shopping_list.add_item
data:
name: Makaron pełnoziarnisty
- id: kitchen_shopping_spices
alias: '[Kitchen][Shopping] Spices'
trigger:
- device_id: 75e43fd0f6c82fb9e7bc6ff7c30b8c9a
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
condition: [ ]
action:
- service: notify.mobile_app_iphone
data:
message: Co dodać do listy zakupów?
data:
actions:
- action: SHOPPING_BASIL
title: Bazylia
- action: SHOPPING_OREGANO
title: Oregano
- action: SHOPPING_THYMELEAF
title: Tymianek
- action: SHOPPING_WHITE_PEPPER
title: Pieprz biały
- action: SHOPPING_BLACK_PEPPER
title: Pieprz czarny
- action: SHOPPING_SWEET_PEPPER
title: Sweet pepper
- action: SHOPPING_GARLIC
title: Czosnek
- action: SHOPPING_SALT
title: Sól
- id: kitchen_shopping_coffee_supplies
alias: '[Kitchen][Shopping] Coffee Supplies'
trigger:
- device_id: 75e43fd0f6c82fb9e7bc6ff7c30b8c9a
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
condition: [ ]
action:
- service: notify.mobile_app_iphone
data:
message: Co dodać do listy zakupów?
data:
actions:
- action: SHOPPING_COFFEE
title: Kawa
- action: SHOPPING_COFFEE_WATER_FILTER
title: Filtr do wody ekspresu
- action: SHOPPING_COFFEE_DESCALER
title: Odkamieniacz do ekspresu
- action: SHOPPING_COFFEE_CLEANING_TABLETS
title: Tabletki czyszczące do ekspresu
- action: SHOPPING_COFFEE_MILK_CLEANER
title: Środek do czyszczenia mleka ekspresu