I decide to pimp home assistant to remind me the shopping list.
To do that i make a list with my favorites items to buy with input boolean like that
courses:
name: Liste de courses
entities:
- input_boolean.acheter
- input_boolean.bieres
- input_boolean.papierwc
- input_boolean.coca
- input_boolean.lessive
- input_boolean.poulet
- input_boolean.steak
- input_boolean.poisson
- input_boolean.shampooing
- input_boolean.geldouche
- input_boolean.cafe
- input_boolean.petitdej
- input_boolean.cremefraiche
input_boolean.acheter (to buy in english) is a boolean to execute the notification
with pushbullet ha notify me if input_boolean.acheter is on
- alias: Send shoppinglist'
trigger:
- platform: time
minutes: '/3'
seconds: 0
condition:
- platform: state
entity_id: input_boolean.acheter
state: 'on'
action:
service: notify.pushgano
data:
message: " Liste des courses : {% if is_state('input_boolean.bieres', 'on') %} - Bieres {% endif %}{% if is_state('input_boolean.papierwc', 'on') %} - Papier WC {% endif %}{% if is_state('input_boolean.coca', 'on') %} - Coca Cola{% endif %}{% if is_state('input_boolean.lessive', 'on') %} - Lessive {% endif %}{% if is_state('input_boolean.poulet', 'on') %} - Poulet {% endif %}{% if is_state('input_boolean.steak', 'on') %} - Steaks {% endif %}{% if is_state('input_boolean.poisson', 'on') %} - Poisson {% endif %}{% if is_state('input_boolean.shampooing', 'on') %} - Shampooing {% endif %}{% if is_state('input_boolean.geldouche', 'on') %} - Gel Douche {% endif %}{% if is_state('input_boolean.cafe', 'on') %} - Cafe {% endif %}{% if is_state('input_boolean.petitdej', 'on') %} - De la bouffe pour le petit dejeuner {% endif %}{% if is_state('input_boolean.cremefraiche', 'on') %} - Creme fraiche {% endif %}!"
the trigger could be by example owntracks with commercial zone defined in home assistant like home.