2023-10-04 21:48:17 +00:00
|
|
|
- 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
|
2023-10-22 21:38:25 +00:00
|
|
|
state: Day
|
2023-10-04 21:48:17 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
- id: kitchen_meals_eaten
|
|
|
|
alias: '[Kitchen] Meal eaten'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- device_id: c0e0b405854000dcaa538cd0f3fc11de
|
|
|
|
domain: zha
|
|
|
|
platform: device
|
|
|
|
type: remote_button_short_press
|
|
|
|
subtype: remote_button_short_press
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.home_mode
|
2023-10-12 20:41:21 +00:00
|
|
|
state: Day
|
2023-10-04 21:48:17 +00:00
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: input_boolean.meal_helper
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
target:
|
|
|
|
entity_id: input_boolean.meal_alert
|