This commit is contained in:
2024-04-22 15:06:39 -04:00
commit 5a3ce1da52
9 changed files with 312 additions and 0 deletions

117
automations.yaml Normal file
View File

@@ -0,0 +1,117 @@
- id: '1713200402990'
alias: Front Door Unlock Anouncement
description: ''
trigger:
- platform: device
device_id: fd1e877adeeb5cc236412e20b06c7124
domain: lock
entity_id: 5c4e6fa6e134f44bc9239edc7a6ffd9a
type: unlocked
condition: []
action:
- service: media_player.play_media
target:
entity_id: media_player.living_room_homepod
data:
media_content_id: media-source://tts/tts.google_en_com?message=Oh+god+the+front+door+unlocked.+Jesus+Christ+someone+call+the+homeowner.+Someone%E2%80%99s+breaking+in%21+Someone+hacked+the+smart+lock%21+Call+Jeff+Bezos%21+Help%21+Help%21&language=en-us
media_content_type: provider
metadata:
title: Oh god the front door unlocked. Jesus Christ someone call the homeowner.
Someones breaking in! Someone hacked the smart lock! Call Jeff Bezos! Help!
Help!
thumbnail: https://brands.home-assistant.io/_/tts/logo.png
media_class: app
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://tts
- media_content_type: provider
media_content_id: media-source://tts/tts.google_en_com?message=Oh+god+the+front+door+unlocked.+Jesus+Christ+someone+call+the+homeowner.+Someone%E2%80%99s+breaking+in%21+Someone+hacked+the+smart+lock%21+Call+Jeff+Bezos%21+Help%21+Help%21&language=en-us
mode: single
- id: '1713202298858'
alias: Anounce Print Progress
description: ''
trigger:
- platform: state
entity_id:
- sensor.octoprint_job_percentage
condition: []
action:
- service: tts.picotts_say
data:
cache: false
entity_id: media_player.loft
message: '"Printer is " "{{ states.sensor.octoprint_job_percentage.state }}"
" % complete."'
mode: single
- id: '1713724182553'
alias: Automatically Turn on Main Bathroom Lights
description: ''
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.waterproof_motion_detected
light_target:
area_id: main_bathroom
no_motion_wait: 3600
- id: '1713725444514'
alias: Automatically Turn on Downstairs Lights
description: ''
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.kitchen_motion
light_target:
floor_id: downstairs
no_motion_wait: 3600
- id: '1713725508034'
alias: Automatically Turn on Loft Lights
description: ''
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.loft_motion
light_target:
area_id: loft
no_motion_wait: 3600
- id: '1713731656021'
alias: Automatically Turn on Main Bedroom Lights
description: ''
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.filament_box_motion_detected
light_target:
area_id: main_bedroom
no_motion_wait: 3600
- id: '1713754028439'
alias: Main Bath Humidity Detector
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.waterproof_humidity_level
above: 50
condition: []
action:
- service: light.turn_on
metadata: {}
data:
rgb_color:
- 0
- 161
- 216
brightness_pct: 100
target:
area_id: main_bath
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- service: scene.turn_on
metadata: {}
target:
entity_id: scene.main_bathroom_bright
mode: single