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:
|
action:
|
||||||
- service: script.washer_running
|
- service: script.washer_running
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
|
||||||
- id: washer_complete
|
- id: washer_complete
|
||||||
alias: Washer Complete
|
alias: Washer Complete
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -29,6 +30,7 @@
|
||||||
action:
|
action:
|
||||||
- service: script.washer_complete
|
- service: script.washer_complete
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
|
||||||
- id: washer_emptied
|
- id: washer_emptied
|
||||||
initial_state: true
|
initial_state: true
|
||||||
alias: Washer Emptied
|
alias: Washer Emptied
|
||||||
|
@ -41,8 +43,7 @@
|
||||||
- service: script.washer_idle
|
- service: script.washer_idle
|
||||||
- service: script.turn_off
|
- service: script.turn_off
|
||||||
entity_id: script.washer_finished_notification_audible
|
entity_id: script.washer_finished_notification_audible
|
||||||
- service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.washer_finished
|
|
||||||
- id: washer_notification
|
- id: washer_notification
|
||||||
initial_state: true
|
initial_state: true
|
||||||
alias: Washer Notification
|
alias: Washer Notification
|
||||||
|
@ -51,8 +52,13 @@
|
||||||
entity_id: sensor.washer_status
|
entity_id: sensor.washer_status
|
||||||
from: running
|
from: running
|
||||||
to: complete
|
to: complete
|
||||||
|
- platform: event
|
||||||
|
event_type: event_washer_complete_notification
|
||||||
action:
|
action:
|
||||||
- service: script.washer_finished_notification_audible
|
- service: script.turn_on
|
||||||
|
entity_id: script.washer_finished_notification_audible
|
||||||
|
|
||||||
|
|
||||||
- id: turn_off_disney
|
- id: turn_off_disney
|
||||||
initial_state: true
|
initial_state: true
|
||||||
alias: Turn Off Disney
|
alias: Turn Off Disney
|
||||||
|
|
|
@ -2,32 +2,16 @@ washer_finished_notification_audible:
|
||||||
sequence:
|
sequence:
|
||||||
- delay:
|
- delay:
|
||||||
minutes: 15
|
minutes: 15
|
||||||
- condition: state
|
- service: script.washer_audible
|
||||||
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
|
|
||||||
- delay:
|
- delay:
|
||||||
minutes: 15
|
minutes: 30
|
||||||
- condition: state
|
- event: event_washer_complete_notification
|
||||||
entity_id: sensor.family_status
|
event_data:
|
||||||
state: Home
|
name: Washer Complete Notification
|
||||||
- condition: state
|
message: Washer has completed it's cycle
|
||||||
entity_id: sensor.washer_status
|
|
||||||
state: complete
|
washer_audible:
|
||||||
- service: script.ah_report
|
sequence:
|
||||||
data:
|
|
||||||
call_interuption: 1
|
|
||||||
call_washer_needs_emptying: 1
|
|
||||||
- delay:
|
|
||||||
minutes: 15
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.family_status
|
entity_id: sensor.family_status
|
||||||
state: Home
|
state: Home
|
||||||
|
|
Loading…
Reference in New Issue