1
0
ansible-home-assistant/roles/automations/files/kitchen-meals.yaml

21 lines
493 B
YAML

- id: kitchen_meals_start
alias: '[Kitchen] Meal alert start'
mode: single
trigger:
- platform: state
entity_id: input_boolean.meal_helper
to: "on"
for:
hours: 3
condition:
- condition: state
entity_id: input_select.home_mode
state: Day
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.meal_alert
- service: input_boolean.turn_off
target:
entity_id: input_boolean.meal_helper