AutomationDataset/KB1RMA/KB1RMA_automations.yaml

220 lines
5.6 KiB
YAML

- alias: Announce printer complete
description: ''
triggers:
- trigger: state
entity_id:
- sensor.mfc_j1170dw_status
from: printing
to: null
conditions: []
actions:
- action: tts.google_translate_say
data:
message: Printer finished printing
entity_id: media_player.kitchen_display
mode: single
- id: '1638400101028'
alias: Doorbell
description: ''
triggers:
- event_type: unifiprotect_doorbell
event_data: {}
trigger: event
conditions: []
actions:
- data:
message: Someone is at the {{ area_name(trigger.entity_id) }} door
entity_id: media_player.kitchen_display
action: tts.google_translate_say
mode: single
- id: '1640903808419'
alias: Back Door Turn Light Off When No More Motion
description: If the back door lights were turned on by the automation, but motion
is no longer detected, turn them off
trigger:
- platform: state
entity_id:
- sensor.back_door_kent_st_detected_object
to: none
for:
hours: 0
minutes: 0
seconds: 20
condition:
- condition: device
type: is_on
device_id: e8c5693dee8c4e27766a8d5a693cc993
entity_id: light.back_stairs_back_porch_lights_2
domain: light
- condition: and
conditions:
- condition: state
entity_id: input_boolean.backdoor_on_by_motion
state: 'on'
action:
- type: turn_off
device_id: e8c5693dee8c4e27766a8d5a693cc993
entity_id: light.back_stairs_back_porch_lights_2
domain: light
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.backdoor_on_by_motion
mode: single
- id: '1733255266242'
alias: Remind when clothes in washing machine
description: ''
triggers:
- trigger: state
entity_id:
- sensor.washing_machine_status
to: Program ended
for:
hours: 0
minutes: 20
seconds: 0
from: null
conditions:
- type: is_not_open
condition: device
device_id: e9bd4b0570a5fb7d87d74d2fa13f8ccd
entity_id: 8a67600394b4e9729f91f304fe735cee
domain: binary_sensor
actions:
- action: tts.google_translate_say
metadata: {}
data:
entity_id: media_player.kitchen_display
message: Clothes are still in the washing machine
mode: single
- id: '1733255396983'
alias: Remind when clothes in dryer
description: ''
triggers:
- trigger: state
entity_id:
- sensor.tumble_dryer_status
to: Finished
for:
hours: 0
minutes: 20
seconds: 0
from: null
conditions:
- type: is_not_open
condition: device
device_id: 5c5cf8ddfedaa6143e2a099703d74d54
entity_id: f9b910e9f4201847e993b59f78b3388b
domain: binary_sensor
actions:
- action: tts.google_translate_say
metadata: {}
data:
entity_id: media_player.kitchen_display
message: Clothes are still in the dryer
mode: single
- id: '1733249852673'
alias: Remind about clothes in Washing Machine
description: If the door hasn't been opened and the washing machine has completed
remind the house
triggers:
- device_id: e9bd4b0570a5fb7d87d74d2fa13f8ccd
domain: miele
entity_id: sensor.washing_machine_status
type: program_ended
trigger: device
conditions:
- type: is_not_open
condition: device
device_id: e9bd4b0570a5fb7d87d74d2fa13f8ccd
entity_id: 8a67600394b4e9729f91f304fe735cee
domain: binary_sensor
for:
hours: 0
minutes: 20
seconds: 0
actions:
- data:
message: Clothes are still in the washing machine
entity_id: media_player.kitchen_display
action: tts.google_translate_say
mode: single
- id: '1733249966668'
alias: Remind Clothes in Dryer
description: If the door hasn't been opened and the dryer has completed remind the
house
triggers:
- device_id: 5c5cf8ddfedaa6143e2a099703d74d54
domain: miele
entity_id: sensor.tumble_dryer_status
type: program_ended
trigger: device
conditions:
- type: is_not_open
condition: device
device_id: 5c5cf8ddfedaa6143e2a099703d74d54
entity_id: f9b910e9f4201847e993b59f78b3388b
domain: binary_sensor
for:
hours: 0
minutes: 20
seconds: 0
actions:
- data:
message: Clothes are still in the dryer
entity_id: media_player.kitchen_display
action: tts.google_translate_say
mode: single
- id: '1733581577873'
alias: XMAS Decorations Off @ Night
description: ''
triggers:
- trigger: time
at: '22:00:00'
conditions: []
actions:
- type: turn_off
device_id: 16e75fcf35b7f075bf05dea45130ffb1
entity_id: b8b3e3836631508b2177bafc0bee62b2
domain: switch
- type: turn_off
device_id: 31eb2f71d98f1f997c6e530fe7dece1b
entity_id: 8c7b057bea1493e62b65c4c59f10f027
domain: switch
mode: single
- id: '1733583755327'
alias: XMAS Decorations On @ Sunset
description: ''
triggers:
- trigger: sun
event: sunset
offset: -00:45:00
conditions: []
actions:
- type: turn_on
device_id: 31eb2f71d98f1f997c6e530fe7dece1b
entity_id: 8c7b057bea1493e62b65c4c59f10f027
domain: switch
- type: turn_on
device_id: 65179b21da16920d3a81c2d8c71201d1
entity_id: 2cbbe7695a270982a6d7e69256175469
domain: switch
- type: turn_on
device_id: 16e75fcf35b7f075bf05dea45130ffb1
entity_id: b8b3e3836631508b2177bafc0bee62b2
domain: switch
mode: single
- id: '1733584023602'
alias: XMAS Decorations Off @ Late Night
description: ''
triggers:
- trigger: time
at: 02:00:00
conditions: []
actions:
- type: turn_off
device_id: 65179b21da16920d3a81c2d8c71201d1
entity_id: 2cbbe7695a270982a6d7e69256175469
domain: switch
mode: single