Once again @kylegordon had the secret sauce to impove washer notification flow
This commit is contained in:
parent
a06253446b
commit
46b66abd87
|
@ -16,6 +16,7 @@
|
|||
action:
|
||||
- service: script.washer_running
|
||||
initial_state: true
|
||||
|
||||
- id: washer_complete
|
||||
alias: Washer Complete
|
||||
trigger:
|
||||
|
@ -29,6 +30,7 @@
|
|||
action:
|
||||
- service: script.washer_complete
|
||||
initial_state: true
|
||||
|
||||
- id: washer_emptied
|
||||
initial_state: true
|
||||
alias: Washer Emptied
|
||||
|
@ -41,8 +43,7 @@
|
|||
- service: script.washer_idle
|
||||
- service: script.turn_off
|
||||
entity_id: script.washer_finished_notification_audible
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.washer_finished
|
||||
|
||||
- id: washer_notification
|
||||
initial_state: true
|
||||
alias: Washer Notification
|
||||
|
@ -51,8 +52,13 @@
|
|||
entity_id: sensor.washer_status
|
||||
from: running
|
||||
to: complete
|
||||
- platform: event
|
||||
event_type: event_washer_complete_notification
|
||||
action:
|
||||
- service: script.washer_finished_notification_audible
|
||||
- service: script.turn_on
|
||||
entity_id: script.washer_finished_notification_audible
|
||||
|
||||
|
||||
- id: turn_off_disney
|
||||
initial_state: true
|
||||
alias: Turn Off Disney
|
||||
|
|
|
@ -2,32 +2,16 @@ washer_finished_notification_audible:
|
|||
sequence:
|
||||
- delay:
|
||||
minutes: 15
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- condition: state
|
||||
entity_id: sensor.washer_status
|
||||
state: complete
|
||||
- service: script.ah_report
|
||||
data:
|
||||
call_interuption: 1
|
||||
call_washer_needs_emptying: 1
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.washer_finished
|
||||
- service: script.washer_audible
|
||||
- delay:
|
||||
minutes: 15
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
- condition: state
|
||||
entity_id: sensor.washer_status
|
||||
state: complete
|
||||
- service: script.ah_report
|
||||
data:
|
||||
call_interuption: 1
|
||||
call_washer_needs_emptying: 1
|
||||
- delay:
|
||||
minutes: 15
|
||||
minutes: 30
|
||||
- event: event_washer_complete_notification
|
||||
event_data:
|
||||
name: Washer Complete Notification
|
||||
message: Washer has completed it's cycle
|
||||
|
||||
washer_audible:
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: sensor.family_status
|
||||
state: Home
|
||||
|
|
Loading…
Reference in New Issue