AutomationDataset/mooreofthesame/mooreofthesame_automations....

258 lines
5.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- id: '1720541560183'
alias: Bambu printing started
description: ''
trigger:
- platform: device
device_id: f0ab603ac201f7b2de1ce28070699b19
domain: bambu_lab
type: event_print_started
condition: []
action:
- service: switch.turn_on
metadata: {}
data: {}
target:
device_id: 993bf1cc8b523722894d9d612eb7c1ff
mode: single
- id: '1720541662041'
alias: Bambu printing finished
description: ''
trigger:
- platform: device
device_id: f0ab603ac201f7b2de1ce28070699b19
domain: bambu_lab
type: event_print_finished
condition: []
action:
- type: turn_off
device_id: 993bf1cc8b523722894d9d612eb7c1ff
entity_id: 75a9cb0d4b3c69e70c1a5289c4c32b4c
domain: switch
mode: single
- id: '1720541835898'
alias: Bambu printing error
description: ''
trigger:
- platform: device
device_id: f0ab603ac201f7b2de1ce28070699b19
domain: bambu_lab
type: event_printer_error
condition: []
action:
- service: notify.mobile_app_myphone
metadata: {}
data:
message: Bambu printer error detected
mode: single
- id: '1720541952406'
alias: Bambu printing failed
description: ''
trigger:
- platform: device
device_id: f0ab603ac201f7b2de1ce28070699b19
domain: bambu_lab
type: event_print_failed
condition: []
action:
- service: notify.mobile_app_myphone
metadata: {}
data:
message: Bambu printer failed
mode: single
- id: '1721840793321'
alias: Lightning detector
description: Lightning detector
trigger:
- platform: state
entity_id:
- sensor.blitzortung_lightning_counter
condition:
- condition: numeric_state
entity_id: sensor.blitzortung_lightning_counter
above: 0
action:
- service: logbook.log
metadata: {}
data:
name: Lightning
entity_id: sensor.blitzortung_lightning_counter
message: Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.609) | round (1, 'floor')}} Miles of our home.
mode: single
- id: '1723082723877'
alias: Joel toothbrush recharge
description: ''
triggers:
- entity_id:
- sensor.io_series_8_9_a15d
from: running
to: idle
trigger: state
conditions:
- type: is_battery_level
condition: device
device_id: b4b7e74a01cded3ea182d2f877c5d8fd
entity_id: 5c9239a1298ec858730de75f82c31c7c
domain: sensor
below: 20
actions:
- action: notify.mobile_app_myphone
metadata: {}
data:
message: Battery needs to be recharged!
title: Joels Toothbrush
data:
interruption-level: time-sensitive
mode: single
- id: '1723083199403'
alias: Erika toothbrush recharge
description: ''
triggers:
- entity_id:
- sensor.io_series_4_4669
from: running
to: idle
trigger: state
conditions:
- type: is_battery_level
condition: device
device_id: fcb266f4dbf4fba1260019c292466daa
entity_id: a9a72da4089c4f4c82cd0d1435e948a4
domain: sensor
below: 20
actions:
- action: notify.mobile_app_myphone
metadata: {}
data:
message: Erikas toothbrush needs to be recharged!
title: Toothbrush
data:
interruption-level: time-sensitive
- action: notify.mobile_app_admins_iphone
metadata: {}
data:
title: Erikas Toothbrush
message: Your toothbrush needs to be recharged!
data:
interruption-level: time-sensitive
mode: single
- id: '1729267731347'
alias: Mazy - reset fed status
description: ''
triggers:
- trigger: time
at: '16:00:00'
- trigger: time
at: 04:00:00
conditions: []
actions:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.mazy_fed
mode: single
- id: '1729267967741'
alias: Mazy - not fed yet
description: ''
triggers:
- trigger: time
at: 08:30:00
- trigger: time
at: '21:00:00'
conditions:
- condition: state
entity_id: input_boolean.mazy_fed
state: 'off'
actions:
- action: notify.mobile_app_myphone
metadata: {}
data:
message: Mazy hasn't been fed yet!
title: Hungry Dog Alert
mode: single
- id: '1729268304067'
alias: Mazy - fed
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.dogfood_container_vibration
from: null
to: 'on'
conditions: []
actions:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.mazy_fed
mode: single
- id: '1729268869219'
alias: Mazy - last fed time
description: ''
triggers:
- trigger: state
entity_id:
- input_boolean.mazy_fed
from: 'off'
to: 'on'
conditions: []
actions:
- action: input_datetime.set_datetime
metadata: {}
data:
timestamp: '{{ now().timestamp() | timestamp_local }}'
mode: single
- id: '1731726572267'
alias: Sunset
description: Automation to run at sunset
triggers:
- trigger: sun
event: sunset
offset: 0
conditions: []
actions:
- type: turn_on
device_id: f841fd355af28545dc09c8107127de16
entity_id: 003e3c7eab254b1eddd5ac008ef437a6
domain: switch
enabled: false
mode: single
- id: '1731726628084'
alias: Sunrise
description: Automation to run at sunrise
triggers:
- trigger: sun
event: sunrise
offset: 0
conditions: []
actions:
- type: turn_on
device_id: f841fd355af28545dc09c8107127de16
entity_id: 003e3c7eab254b1eddd5ac008ef437a6
domain: switch
mode: single
- id: '1735319369520'
alias: Zigbee2mqtt status
description: ''
triggers:
- type: not_running
device_id: 9935da1a215377ca8698c3c81036e251
entity_id: 2a67d6b7f529241ad2fda6e799a3d55c
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 10
seconds: 0
conditions: []
actions:
- action: notify.mobile_app_myphone
metadata: {}
data:
message: Zigbee2MQTT is not running
title: HAOS Status
data:
interruption-level: time-sensitive
mode: single