alias: Show notification with link to google keep shopping list / app (if applicable) / loyalty card barcode (if applicable) when you entering a store description: "(define zones first in Settings -> Areas, labels and zones -> Zones)" triggers: - entity_id: person.your_person_entity_here zone: zone.asda_farnborough event: enter id: asda-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.lidl_aldershot event: enter id: lidl-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.lidl_farham event: enter id: lidl-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.lidl_farborough event: enter id: lidl-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.morrison_s event: enter id: morrisons-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.sainsbury_s_aldershot event: enter id: sby-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.sainsbury_s_farnham event: enter id: sbyf-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.tesco_aldershot event: enter id: tesco-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.ikea_reading event: enter id: ikea-g trigger: zone - entity_id: person.your_person_entity_here zone: zone.polski_sklep_aldershot event: enter id: pl trigger: zone conditions: [] actions: - choose: - conditions: - condition: trigger id: - tesco-g sequence: - data: message: Welcome at Tesco! data: image: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/tesco.jpg actions: - action: URI title: List uri: >- https://keep.google.com/#LIST/xxxxxxxxxIDxOFxGOOGLExKEEPxLISTxFORxTESCOxxxxx - action: URI title: App uri: app://com.tesco.grocery.view - action: URI title: Barcode uri: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/tesco.jpg action: notify.mobile_app_your_phone_entity_here - conditions: - condition: trigger id: - morrisons-g sequence: - data: message: Welcome at Morrison's! data: image: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/morrisons.jpg actions: - action: URI title: List uri: >- https://keep.google.com/#LIST/xxxxxxxxxIDxOFxGOOGLExKEEPxLISTxFORxMORRISONSxxxxx - action: URI title: App uri: app://com.morrisons.matchandmore.app - action: URI title: Barcode uri: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/morrisons.jpg action: notify.mobile_app_your_phone_entity_here - conditions: - condition: trigger id: - ikea-g sequence: - data: message: Welcome at Ikea! data: actions: - action: URI title: List uri: >- https://keep.google.com/#LIST/xxxxxxxxxIDxOFxGOOGLExKEEPxLISTxFORxIKEAxxxxx - action: URI title: App uri: app://com.ingka.ikea.app - action: URI title: Barcode uri: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/ikea.jpg action: notify.mobile_app_your_phone_entity_here - conditions: - condition: trigger id: - lidl-g sequence: - data: message: Welcome at Lidl! data: actions: - action: URI title: List uri: >- https://keep.google.com/#LIST/xxxxxxxxxIDxOFxGOOGLExKEEPxLISTxFORxLIDLxxxxx - action: URI title: App uri: app://com.lidl.eci.lidlplus - action: URI title: Barcode uri: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/lidl.jpg action: notify.mobile_app_your_phone_entity_here - conditions: - condition: trigger id: - sby-g - sbyf-g sequence: - data: message: Welcome at Sainsbury's! Here is your card data: image: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/nectar.jpg actions: - action: URI title: List uri: >- https://keep.google.com/#LIST/xxxxxxxxxIDxOFxGOOGLExKEEPxLISTxFORxSAINSBURYSxxxxx - action: URI title: App uri: app://com.ga.loyalty.android.nectar.activities - action: URI title: Barcode uri: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/nectar.jpg action: notify.mobile_app_your_phone_entity_here - conditions: - condition: trigger id: - asda-g sequence: - data: message: Welcome at ASDA! Here is your card data: image: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/asda.jpg actions: - action: URI title: List uri: >- https://keep.google.com/#LIST/xxxxxxxxxIDxOFxGOOGLExKEEPxLISTxFORxASDAxxxxx - action: URI title: App uri: app://com.asda.rewards - action: URI title: Barcode uri: >- https://your.external.domain.or.ui.nabu.casa/local/shopcards/asda.jpg action: notify.mobile_app_your_phone_entity_here - conditions: - condition: trigger id: - pl sequence: - data: message: Welcome at Polish shop! (no app or barcode here) data: actions: - action: URI title: List uri: >- https://keep.google.com/#LIST/xxxxxxxxxIDxOFxGOOGLExKEEPxLISTxFORxPOLISHxSHOPxxxxx action: notify.mobile_app_your_phone_entity_here mode: single