General/Normal changes related to running a smart home.'
This commit is contained in:
parent
b1b12b381f
commit
396eaca3b8
|
@ -8,8 +8,3 @@ garage_after_dark:
|
||||||
skip_first: False
|
skip_first: False
|
||||||
notifiers:
|
notifiers:
|
||||||
- all_ios
|
- all_ios
|
||||||
data:
|
|
||||||
push:
|
|
||||||
sound:
|
|
||||||
name: "alarm.caf"
|
|
||||||
critical: 1
|
|
||||||
|
|
|
@ -1,28 +1,47 @@
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Workday Sensor
|
||||||
- platform: workday
|
- platform: workday
|
||||||
country: US
|
country: US
|
||||||
province: GA
|
province: GA
|
||||||
workdays: [mon, tue, wed, thu, fri]
|
workdays: [mon, tue, wed, thu, fri]
|
||||||
|
|
||||||
|
- platform: workday
|
||||||
|
name: jeff_workday
|
||||||
|
country: US
|
||||||
|
province: GA
|
||||||
|
workdays: [mon, tue, wed, thu, fri]
|
||||||
|
|
||||||
|
# Times Of Day
|
||||||
- platform: tod
|
- platform: tod
|
||||||
name: Night
|
name: Night
|
||||||
after: sunset
|
after: sunset
|
||||||
before: sunrise
|
before: sunrise
|
||||||
|
|
||||||
- platform: tod
|
- platform: tod
|
||||||
name: Day
|
name: Day
|
||||||
after: sunrise
|
after: sunrise
|
||||||
before: sunset
|
before: sunset
|
||||||
|
|
||||||
- platform: tod
|
- platform: tod
|
||||||
name: Quiet time
|
name: Quiet time
|
||||||
after: '21:00'
|
after: '21:00'
|
||||||
before: '06:00'
|
before: '06:00'
|
||||||
|
|
||||||
- platform: tod
|
- platform: tod
|
||||||
name: Morning
|
name: Morning
|
||||||
after: '06:00'
|
after: '06:00'
|
||||||
before: '08:30'
|
before: '08:30'
|
||||||
|
|
||||||
- platform: tod
|
- platform: tod
|
||||||
name: Midday
|
name: Midday
|
||||||
after: '08:30'
|
after: '08:30'
|
||||||
before: '17:00'
|
before: '17:00'
|
||||||
|
|
||||||
- platform: tod
|
- platform: tod
|
||||||
name: Evening
|
name: Evening
|
||||||
after: '17:00'
|
after: '17:00'
|
||||||
before: '21:00'
|
before: '21:00'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -71,31 +71,31 @@ automation:
|
||||||
|
|
||||||
|
|
||||||
# Kitchen lights needed when dark and there is motion
|
# Kitchen lights needed when dark and there is motion
|
||||||
# - id: e1cb3d56-0433-12eb-adc1-0242ac120002
|
- id: e1cb3d56-0433-12eb-adc1-0242ac120002
|
||||||
# alias: Kitchen Lights Needed
|
alias: Kitchen Lights Needed
|
||||||
# mode: restart
|
mode: restart
|
||||||
# initial_state: true
|
initial_state: true
|
||||||
# trigger:
|
trigger:
|
||||||
# - entity_id: binary_sensor.kitchen_motion_occupancy
|
- entity_id: binary_sensor.kitchen_motion_occupancy
|
||||||
# from: 'off'
|
from: 'off'
|
||||||
# platform: state
|
platform: state
|
||||||
# to: 'on'
|
to: 'on'
|
||||||
# - entity_id: binary_sensor.back_door_motion
|
- entity_id: binary_sensor.back_door_motion
|
||||||
# from: 'off'
|
from: 'off'
|
||||||
# platform: state
|
platform: state
|
||||||
# to: 'on'
|
to: 'on'
|
||||||
# action:
|
action:
|
||||||
# - choose:
|
- choose:
|
||||||
# - conditions:
|
- conditions:
|
||||||
# - condition: state
|
- condition: state
|
||||||
# entity_id: binary_sensor.quiet_time
|
entity_id: binary_sensor.quiet_time
|
||||||
# state: 'on'
|
state: 'on'
|
||||||
# sequence:
|
sequence:
|
||||||
# - scene: scene.diminished_kitchen_lighting
|
- scene: scene.diminished_kitchen_lighting
|
||||||
# - delay: 00:18:00
|
- delay: 00:18:00
|
||||||
# - scene: scene.kitchen_lighting_off
|
- scene: scene.kitchen_lighting_off
|
||||||
# default:
|
default:
|
||||||
# - scene: scene.normal_kitchen_lighting
|
- scene: scene.normal_kitchen_lighting
|
||||||
|
|
||||||
# Living lights needed when dark and there is motion
|
# Living lights needed when dark and there is motion
|
||||||
- id: e1c9379a-0423-11eb-adc1-0242ac120002
|
- id: e1c9379a-0423-11eb-adc1-0242ac120002
|
||||||
|
|
|
@ -73,31 +73,6 @@ sensor:
|
||||||
state: GA
|
state: GA
|
||||||
zone: 34
|
zone: 34
|
||||||
county: 135
|
county: 135
|
||||||
|
|
||||||
|
|
||||||
# - platform: mqtt
|
|
||||||
# name: "Back Porch"
|
|
||||||
# state_topic: "house/acurite2mqtt/Acurite-6045M_3078"
|
|
||||||
# unit_of_measurement: '°F'
|
|
||||||
# value_template: "{{ value_json.temperature_F }}"
|
|
||||||
# json_attributes_topic: "house/acurite2mqtt/Acurite-6045M_3078"
|
|
||||||
# device_class: temperature
|
|
||||||
|
|
||||||
# - platform: mqtt
|
|
||||||
# name: "Crawlspace"
|
|
||||||
# state_topic: "house/acurite2mqtt/Acurite-609TXC_73"
|
|
||||||
# unit_of_measurement: '°F'
|
|
||||||
# value_template: "{{ value_json.temperature_F }}"
|
|
||||||
# json_attributes_topic: "house/acurite2mqtt/Acurite-609TXC_73"
|
|
||||||
# device_class: temperature
|
|
||||||
|
|
||||||
# - platform: mqtt
|
|
||||||
# name: "Garage"
|
|
||||||
# state_topic: "house/acurite2mqtt/Acurite-Tower_10968"
|
|
||||||
# unit_of_measurement: '°F'
|
|
||||||
# value_template: "{{ value_json.temperature_F }}"
|
|
||||||
# json_attributes_topic: "house/acurite2mqtt/Acurite-Tower_10968"
|
|
||||||
# device_class: temperature
|
|
||||||
|
|
||||||
- platform: statistics
|
- platform: statistics
|
||||||
name: Inside Humidity Stats
|
name: Inside Humidity Stats
|
||||||
|
|
|
@ -188,28 +188,44 @@
|
||||||
switch.fireplace_lights:
|
switch.fireplace_lights:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
id: d05c18cf0ddb4002ad0b28cc0c7f98f2
|
id: d05c18cf0ddb4002ad0b28cc0c7f98f2
|
||||||
# - name: diminished kitchen lights
|
- name: diminished kitchen lights
|
||||||
# entities:
|
entities:
|
||||||
# light.kitchen_cabinets:
|
light.kitchen_cabinets:
|
||||||
# state: 'on'
|
state: 'on'
|
||||||
# brightness: 10
|
brightness: 25
|
||||||
# switch.kitchen_light_strip:
|
switch.kitchen_light_strip:
|
||||||
# state: 'off'
|
state: 'off'
|
||||||
# id: c0d8602152fb480d9731f8671f388b1b
|
id: c0d8602152fb480d9731f8671f388b1b
|
||||||
- name: normal kitchen lighting
|
- name: normal kitchen lighting
|
||||||
entities:
|
entities:
|
||||||
light.kitchen_cabinets:
|
light.kitchen_cabinets:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
brightness: 250
|
brightness: 255
|
||||||
switch.kitchen_light_strip:
|
switch.kitchen_light_strip:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
light.kitchen_sink:
|
||||||
|
state: 'on'
|
||||||
|
color_temp: 369
|
||||||
|
brightness: 255
|
||||||
id: bbabfe8623f64c5d9678b603018fece6
|
id: bbabfe8623f64c5d9678b603018fece6
|
||||||
|
- name: security kitchen lighting
|
||||||
|
entities:
|
||||||
|
light.kitchen_sink:
|
||||||
|
state: 'on'
|
||||||
|
rgb_color:
|
||||||
|
- 127
|
||||||
|
- 0
|
||||||
|
- 255
|
||||||
|
brightness: 255
|
||||||
|
id: bbabfe86234002ad0b28cc0c7f98f223
|
||||||
- name: kitchen lighting off
|
- name: kitchen lighting off
|
||||||
entities:
|
entities:
|
||||||
light.kitchen_cabinets:
|
light.kitchen_cabinets:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
switch.kitchen_light_strip:
|
switch.kitchen_light_strip:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
light.kitchen_sink:
|
||||||
|
state: 'off'
|
||||||
id: d2f97475841a4b50b0ba06f22f0374cf
|
id: d2f97475841a4b50b0ba06f22f0374cf
|
||||||
- name: lights out
|
- name: lights out
|
||||||
entities:
|
entities:
|
||||||
|
@ -229,6 +245,8 @@
|
||||||
state: 'off'
|
state: 'off'
|
||||||
switch.rail_lights:
|
switch.rail_lights:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
light.kitchen_sink:
|
||||||
|
state: 'off'
|
||||||
id: e9a130a78603423185af94e892c70cd9
|
id: e9a130a78603423185af94e892c70cd9
|
||||||
- name: haunted preshow
|
- name: haunted preshow
|
||||||
entities:
|
entities:
|
||||||
|
@ -404,7 +422,9 @@
|
||||||
state: 'on'
|
state: 'on'
|
||||||
switch.wled_loftbed_nightlight:
|
switch.wled_loftbed_nightlight:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
switch.skylar_led_cube:
|
light.diffuser_skylars_bedroom:
|
||||||
|
state: 'on'
|
||||||
|
humidifier.diffuser_skylars_bedroom:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
input_boolean.skylar_awake:
|
input_boolean.skylar_awake:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
@ -423,16 +443,14 @@
|
||||||
- 63
|
- 63
|
||||||
- 255
|
- 255
|
||||||
- 0
|
- 0
|
||||||
switch.skylar_led_cube:
|
|
||||||
state: 'off'
|
|
||||||
switch.rainbow_lamp:
|
switch.rainbow_lamp:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
light.diffuser_skylars_bedroom:
|
||||||
|
state: 'off'
|
||||||
id: dca10298716d46ad86cb894bfac295a5
|
id: dca10298716d46ad86cb894bfac295a5
|
||||||
|
|
||||||
- name: skylar room day
|
- name: skylar room day
|
||||||
entities:
|
entities:
|
||||||
switch.skylar_led_cube:
|
|
||||||
state: 'off'
|
|
||||||
switch.rainbow_lamp:
|
switch.rainbow_lamp:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
light.wled_loftbed:
|
light.wled_loftbed:
|
||||||
|
|
|
@ -2,22 +2,16 @@ video_lighting_on:
|
||||||
alias: Video Lighting On
|
alias: Video Lighting On
|
||||||
sequence:
|
sequence:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data: {}
|
|
||||||
entity_id: light.desk_accent_level_light_color_on_off
|
entity_id: light.desk_accent_level_light_color_on_off
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data: {}
|
|
||||||
entity_id: light.kitchen_sink_level_light_color_on_off
|
entity_id: light.kitchen_sink_level_light_color_on_off
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data: {}
|
|
||||||
entity_id: light.tower_spotlight_level_on_off
|
entity_id: light.tower_spotlight_level_on_off
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
data: {}
|
|
||||||
entity_id: switch.tplink_a2
|
entity_id: switch.tplink_a2
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data: {}
|
|
||||||
entity_id: light.kat_lamp
|
entity_id: light.kat_lamp
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data: {}
|
|
||||||
entity_id: light.jeff_lamp_level_light_color_on_off
|
entity_id: light.jeff_lamp_level_light_color_on_off
|
||||||
mode: single
|
mode: single
|
||||||
example_master_bedroom_lights_w_level:
|
example_master_bedroom_lights_w_level:
|
||||||
|
@ -65,15 +59,15 @@ tts_notification:
|
||||||
state: main
|
state: main
|
||||||
sequence:
|
sequence:
|
||||||
- service: media_player.turn_on
|
- service: media_player.turn_on
|
||||||
entity_id: media_player.ha_speaker
|
entity_id: media_player.ha_blue
|
||||||
- service: media_player.volume_set
|
- service: media_player.volume_set
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.ha_speaker
|
entity_id: media_player.ha_blue
|
||||||
data:
|
data:
|
||||||
volume_level: 0.8
|
volume_level: 0.8
|
||||||
- service: tts.amazon_polly_say
|
- service: tts.amazon_polly_say
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.ha_speaker
|
entity_id: media_player.ha_blue
|
||||||
message: <speak> Welcome Home! </speak>
|
message: <speak> Welcome Home! </speak>
|
||||||
default: []
|
default: []
|
||||||
mode: single
|
mode: single
|
||||||
|
@ -117,7 +111,7 @@ randomize_vacation_lights_demo:
|
||||||
- service: input_text.set_value
|
- service: input_text.set_value
|
||||||
data:
|
data:
|
||||||
entity_id: input_text.current_random_light
|
entity_id: input_text.current_random_light
|
||||||
value: '{{ state_attr(''group.livingroom'',''entity_id'') | random }}'
|
value: "{{ state_attr('group.livingroom','entity_id') | random }}"
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: '{{ states(''input_text.current_random_light'') }}'
|
entity_id: '{{ states(''input_text.current_random_light'') }}'
|
||||||
|
|
Loading…
Reference in New Issue