2021-05-10 21:10:18 +00:00
|
|
|
- id: washing-machine-notification
|
|
|
|
alias: '[Washing Machine] Washing notification'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- type: power
|
|
|
|
platform: device
|
|
|
|
device_id: 6abd174075f468c040ac51979dfd09af
|
|
|
|
entity_id: sensor.washing_machine_electrical_measurement
|
|
|
|
domain: sensor
|
|
|
|
below: 100
|
|
|
|
for:
|
|
|
|
hours: 0
|
|
|
|
minutes: 15
|
|
|
|
seconds: 0
|
|
|
|
milliseconds: 0
|
2021-05-18 07:32:42 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: switch.washing_machine_on_off
|
|
|
|
state: 'on'
|
2021-05-10 21:10:18 +00:00
|
|
|
action:
|
2022-11-14 22:39:48 +00:00
|
|
|
- service: input_boolean.turn_on
|
|
|
|
target:
|
|
|
|
entity_id: input_boolean.washing_machine_done
|
2021-05-10 21:10:18 +00:00
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: media_player.samsung_qe55q6fam
|
|
|
|
state: 'on'
|
|
|
|
sequence:
|
|
|
|
- service: notify.shield
|
|
|
|
data:
|
|
|
|
title: 'Washing Machine'
|
|
|
|
message: 'Washing has finished'
|
|
|
|
data:
|
|
|
|
duration: 30
|
2021-09-23 21:37:27 +00:00
|
|
|
color: black
|
2022-11-14 22:39:48 +00:00
|
|
|
|
|
|
|
- id: washing-machine-taken
|
|
|
|
alias: '[Washing Machine] Laundry taken out'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id:
|
|
|
|
- switch.washing_machine_on_off
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
target:
|
|
|
|
entity_id: input_boolean.washing_machine_done
|