1
0

Add alert to put away clothes

This commit is contained in:
Przemek Grondek 2023-09-07 21:49:15 +02:00
parent 7e7443a9f8
commit a65aca68ad
4 changed files with 47 additions and 2 deletions

View File

@ -6,4 +6,18 @@ washing_machine:
repeat: 30
message: Washing machine is done, take out laundry
notifiers:
- mobile_app_iphone
- mobile_app_iphone
washing_clothes_dry:
name: Put clothes away
done_message: Good job
entity_id: input_boolean.washing_clothes_dry
state: 'on'
repeat: 30
message: Put clothes away
notifiers:
- mobile_app_iphone
data:
actions:
- action: CLOTHES_PUT_AWAY
title: Done

View File

@ -46,3 +46,17 @@
- service: input_boolean.turn_off
target:
entity_id: input_boolean.washing_machine_done
- id: washing_clothes_put_clothes_away
alias: '[Washing clothes] Put clothes away'
mode: single
trigger:
- platform: state
entity_id:
- input_boolean.washing_machine_done
for:
hours: 24
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.washing_clothes_dry

View File

@ -48,4 +48,18 @@
event_data:
action: ARRIVE_HOME
action:
- service: script.arrive_home
- service: script.arrive_home
- id: mobile_action-clothes_put_away
alias: '[Mobile-action] Clothes puth away'
description: ''
mode: single
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: CLOTHES_PUT_AWAY
action:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.washing_clothes_dry

View File

@ -73,6 +73,9 @@ input_boolean:
washing_machine_done:
name: "Washing machine done"
icon: "mdi:washing-machine"
washing_clothes_dry:
name: "Washing clothes dry"
icon: "mdi:hanger"
put_laundry_away:
name: "Put laundry away"
icon: "mdi:tshirt-crew"