init
This commit is contained in:
117
automations.yaml
Normal file
117
automations.yaml
Normal 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.
|
||||
Someone’s 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
|
||||
9
binary_sensors.yaml
Normal file
9
binary_sensors.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
# - platform: template
|
||||
# name: "hvac_heating"
|
||||
# sensors:
|
||||
# - binary_sensor:
|
||||
# name: "hvac_heating"
|
||||
# state: "{{ state_attr('climate.thermostat_2', 'hvac_action') == 'heating' }}"
|
||||
# - platform: template
|
||||
# name: "hvac_cooling"
|
||||
# state: "{{ state_attr('climate.thermostat_2', 'hvac_action') == 'cooling' }}"
|
||||
25
configuration.yaml
Normal file
25
configuration.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
# Loads default set of integrations. Do not remove.
|
||||
default_config:
|
||||
|
||||
# Load frontend themes from the themes folder
|
||||
frontend:
|
||||
themes: !include_dir_merge_named themes
|
||||
|
||||
automation: !include automations.yaml
|
||||
script: !include scripts.yaml
|
||||
scene: !include scenes.yaml
|
||||
|
||||
http:
|
||||
ssl_certificate: "/ssl/ha-fullchain.pem"
|
||||
ssl_key: "/ssl/ha-privkey.pem"
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- 10.1.0.0/16
|
||||
|
||||
tts:
|
||||
- platform: picotts
|
||||
|
||||
switch: !include switches.yaml
|
||||
binary_sensor: !include binary_sensors.yaml
|
||||
light: !include lights.yaml
|
||||
sensor: !include sensors.yaml
|
||||
82
lights.yaml
Normal file
82
lights.yaml
Normal file
@@ -0,0 +1,82 @@
|
||||
# Kitchen
|
||||
- platform: group
|
||||
name: "Kitchen Ceiling Lights"
|
||||
entities:
|
||||
- light.kitchen_back_left_light
|
||||
- light.kitchen_back_right_light
|
||||
- light.kitchen_front_left_light
|
||||
- light.kitchen_front_right_light
|
||||
- platform: group
|
||||
name: "Kitchen Hanging Lights"
|
||||
entities:
|
||||
- light.back_kitchen_hanging_light
|
||||
- light.front_kitchen_hanging_light
|
||||
- platform: group
|
||||
name: "Kitchen Lights"
|
||||
entities:
|
||||
- light.kitchen_ceiling_lights
|
||||
- light.kitchen_hanging_lights
|
||||
|
||||
# Living Room
|
||||
- platform: group
|
||||
name: "Living Room Fan Lights"
|
||||
entities:
|
||||
- light.hue_ambiance_candle_1
|
||||
- light.hue_ambiance_candle_2
|
||||
- light.hue_ambiance_candle_3
|
||||
- platform: group
|
||||
name: "Living Room Ceiling Lights"
|
||||
entities:
|
||||
- light.living_room_back_left_light
|
||||
- light.living_room_back_right_light
|
||||
- light.living_room_front_left_light
|
||||
- light.living_room_front_right_light
|
||||
- platform: group
|
||||
name: "Living Room Ceiling Lights"
|
||||
entities:
|
||||
- light.living_room_ceiling_lights
|
||||
- light.living_room_fan_lights
|
||||
|
||||
# Loft
|
||||
- platform: group
|
||||
name: "Loft Ceiling Lights"
|
||||
entities:
|
||||
- light.loft_light_back_left_light
|
||||
- light.loft_light_back_right_light_3
|
||||
- light.loft_light_front_left_light
|
||||
- light.loft_light_front_right_light_2
|
||||
- platform: group
|
||||
name: "Loft Lights"
|
||||
entities:
|
||||
- light.loft_ceiling_lights
|
||||
|
||||
# Main Bedroom
|
||||
- platform: group
|
||||
name: "Main Bedroom Fan Light"
|
||||
entities:
|
||||
- light.hue_ambiance_candle_1_2
|
||||
- light.hue_ambiance_candle_2_2
|
||||
- light.hue_ambiance_candle_3_2
|
||||
- platform: group
|
||||
name: "Main Bedroom Lamps"
|
||||
entities:
|
||||
- light.reeses_bedside_lamp
|
||||
- light.alicias_bedside_lamp
|
||||
- platform: group
|
||||
name: "Main Bedroom Lights"
|
||||
entities:
|
||||
- light.main_bedroom_fan_light
|
||||
- light.main_bedroom_lamps
|
||||
|
||||
# Main Bathroom
|
||||
- platform: group
|
||||
name: "Main Bathroom Mirror Lights"
|
||||
entities:
|
||||
- light.hue_color_lamp_1
|
||||
- light.hue_color_lamp_2
|
||||
- light.hue_color_lamp_3
|
||||
- light.hue_color_lamp_4
|
||||
- platform: group
|
||||
name: "Main Bathroom Lights"
|
||||
entities:
|
||||
- light.main_bathroom_mirror_lights
|
||||
61
scenes.yaml
Normal file
61
scenes.yaml
Normal file
@@ -0,0 +1,61 @@
|
||||
# Main Bedroom
|
||||
- name: Main Bedroom Night Light
|
||||
entities:
|
||||
light.main_bedroom_fan_lights:
|
||||
state: "off"
|
||||
light.main_bedroom_lamps:
|
||||
brightness: 25
|
||||
color_temp: 250
|
||||
state: "on"
|
||||
icon: mdi:weather-night
|
||||
metadata: {}
|
||||
id: 46750bb013514d69beaff900ab9a0e9b
|
||||
- name: Main Bedroom Bright Light
|
||||
entities:
|
||||
light.main_bedroom_lights:
|
||||
brightness: 255
|
||||
color_temp: 250
|
||||
state: "on"
|
||||
icon: mdi:brightness-7
|
||||
metadata: {}
|
||||
id: 05001f6e65b74fbfae7726d3925601d1
|
||||
|
||||
# Main Bathroom
|
||||
- name: Main Bathroom Night Light
|
||||
entities:
|
||||
light.main_bathroom_mirror_lights:
|
||||
brightness: 25
|
||||
color_temp: 250
|
||||
state: "on"
|
||||
icon: mdi:weather-night
|
||||
metadata: {}
|
||||
id: ae97823cf7ef417c9639382b4697ba28
|
||||
- name: Main Bathroom Bright Light
|
||||
entities:
|
||||
light.main_bathroom_mirror_lights:
|
||||
brightness: 255
|
||||
color_temp: 250
|
||||
state: "on"
|
||||
icon: mdi:brightness-7
|
||||
metadata: {}
|
||||
id: 8297b75e654e411387f270501c199866
|
||||
|
||||
# Loft
|
||||
- name: Loft Night Light
|
||||
entities:
|
||||
light.loft_lights:
|
||||
brightness: 25
|
||||
color_temp: 250
|
||||
state: "on"
|
||||
icon: mdi:weather-night
|
||||
metadata: {}
|
||||
id: c44e0e51efa046778e6538939fa5dfcc
|
||||
- name: Loft Bright Light
|
||||
entities:
|
||||
light.loft_lights:
|
||||
brightness: 255
|
||||
color_temp: 250
|
||||
state: "on"
|
||||
icon: mdi:brightness-7
|
||||
metadata: {}
|
||||
id: 93837e0194a54459a0ba5784639227d1
|
||||
0
scripts.yaml
Normal file
0
scripts.yaml
Normal file
4
secrets.yaml
Normal file
4
secrets.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
# Use this file to store secrets like usernames and passwords.
|
||||
# Learn more at https://www.home-assistant.io/docs/configuration/secrets/
|
||||
some_password: welcome
|
||||
0
sensors.yaml
Normal file
0
sensors.yaml
Normal file
14
switches.yaml
Normal file
14
switches.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
- platform: wake_on_lan
|
||||
mac: b4:b2:91:8e:ce:20
|
||||
name: LG TV
|
||||
turn_off:
|
||||
service: media_player.turn_off
|
||||
target:
|
||||
device_id: f681aa5c8b4142e4dd561a81a0b25ce0
|
||||
|
||||
# 3D Printing Closet
|
||||
- platform: group
|
||||
name: "3D Printing Lights"
|
||||
entities:
|
||||
- switch.3d_printer_light_1_switch
|
||||
- switch.3d_printer_light_2_switch
|
||||
Reference in New Issue
Block a user