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
|
||||
notifiers:
|
||||
- all_ios
|
||||
data:
|
||||
push:
|
||||
sound:
|
||||
name: "alarm.caf"
|
||||
critical: 1
|
||||
|
|
|
@ -1,28 +1,47 @@
|
|||
#
|
||||
#
|
||||
# Workday Sensor
|
||||
- platform: workday
|
||||
country: US
|
||||
province: GA
|
||||
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
|
||||
name: Night
|
||||
after: sunset
|
||||
before: sunrise
|
||||
|
||||
- platform: tod
|
||||
name: Day
|
||||
after: sunrise
|
||||
before: sunset
|
||||
|
||||
- platform: tod
|
||||
name: Quiet time
|
||||
after: '21:00'
|
||||
before: '06:00'
|
||||
|
||||
- platform: tod
|
||||
name: Morning
|
||||
after: '06:00'
|
||||
before: '08:30'
|
||||
|
||||
- platform: tod
|
||||
name: Midday
|
||||
after: '08:30'
|
||||
before: '17:00'
|
||||
|
||||
- platform: tod
|
||||
name: Evening
|
||||
after: '17:00'
|
||||
before: '21:00'
|
||||
before: '21:00'
|
||||
|
||||
|
||||
|
|
@ -71,31 +71,31 @@ automation:
|
|||
|
||||
|
||||
# Kitchen lights needed when dark and there is motion
|
||||
# - id: e1cb3d56-0433-12eb-adc1-0242ac120002
|
||||
# alias: Kitchen Lights Needed
|
||||
# mode: restart
|
||||
# initial_state: true
|
||||
# trigger:
|
||||
# - entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
# from: 'off'
|
||||
# platform: state
|
||||
# to: 'on'
|
||||
# - entity_id: binary_sensor.back_door_motion
|
||||
# from: 'off'
|
||||
# platform: state
|
||||
# to: 'on'
|
||||
# action:
|
||||
# - choose:
|
||||
# - conditions:
|
||||
# - condition: state
|
||||
# entity_id: binary_sensor.quiet_time
|
||||
# state: 'on'
|
||||
# sequence:
|
||||
# - scene: scene.diminished_kitchen_lighting
|
||||
# - delay: 00:18:00
|
||||
# - scene: scene.kitchen_lighting_off
|
||||
# default:
|
||||
# - scene: scene.normal_kitchen_lighting
|
||||
- id: e1cb3d56-0433-12eb-adc1-0242ac120002
|
||||
alias: Kitchen Lights Needed
|
||||
mode: restart
|
||||
initial_state: true
|
||||
trigger:
|
||||
- entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
from: 'off'
|
||||
platform: state
|
||||
to: 'on'
|
||||
- entity_id: binary_sensor.back_door_motion
|
||||
from: 'off'
|
||||
platform: state
|
||||
to: 'on'
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.quiet_time
|
||||
state: 'on'
|
||||
sequence:
|
||||
- scene: scene.diminished_kitchen_lighting
|
||||
- delay: 00:18:00
|
||||
- scene: scene.kitchen_lighting_off
|
||||
default:
|
||||
- scene: scene.normal_kitchen_lighting
|
||||
|
||||
# Living lights needed when dark and there is motion
|
||||
- id: e1c9379a-0423-11eb-adc1-0242ac120002
|
||||
|
|
|
@ -73,31 +73,6 @@ sensor:
|
|||
state: GA
|
||||
zone: 34
|
||||
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
|
||||
name: Inside Humidity Stats
|
||||
|
|
|
@ -188,28 +188,44 @@
|
|||
switch.fireplace_lights:
|
||||
state: 'off'
|
||||
id: d05c18cf0ddb4002ad0b28cc0c7f98f2
|
||||
# - name: diminished kitchen lights
|
||||
# entities:
|
||||
# light.kitchen_cabinets:
|
||||
# state: 'on'
|
||||
# brightness: 10
|
||||
# switch.kitchen_light_strip:
|
||||
# state: 'off'
|
||||
# id: c0d8602152fb480d9731f8671f388b1b
|
||||
- name: diminished kitchen lights
|
||||
entities:
|
||||
light.kitchen_cabinets:
|
||||
state: 'on'
|
||||
brightness: 25
|
||||
switch.kitchen_light_strip:
|
||||
state: 'off'
|
||||
id: c0d8602152fb480d9731f8671f388b1b
|
||||
- name: normal kitchen lighting
|
||||
entities:
|
||||
light.kitchen_cabinets:
|
||||
state: 'on'
|
||||
brightness: 250
|
||||
brightness: 255
|
||||
switch.kitchen_light_strip:
|
||||
state: 'on'
|
||||
light.kitchen_sink:
|
||||
state: 'on'
|
||||
color_temp: 369
|
||||
brightness: 255
|
||||
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
|
||||
entities:
|
||||
light.kitchen_cabinets:
|
||||
state: 'off'
|
||||
switch.kitchen_light_strip:
|
||||
state: 'off'
|
||||
light.kitchen_sink:
|
||||
state: 'off'
|
||||
id: d2f97475841a4b50b0ba06f22f0374cf
|
||||
- name: lights out
|
||||
entities:
|
||||
|
@ -229,6 +245,8 @@
|
|||
state: 'off'
|
||||
switch.rail_lights:
|
||||
state: 'off'
|
||||
light.kitchen_sink:
|
||||
state: 'off'
|
||||
id: e9a130a78603423185af94e892c70cd9
|
||||
- name: haunted preshow
|
||||
entities:
|
||||
|
@ -404,7 +422,9 @@
|
|||
state: 'on'
|
||||
switch.wled_loftbed_nightlight:
|
||||
state: 'on'
|
||||
switch.skylar_led_cube:
|
||||
light.diffuser_skylars_bedroom:
|
||||
state: 'on'
|
||||
humidifier.diffuser_skylars_bedroom:
|
||||
state: 'on'
|
||||
input_boolean.skylar_awake:
|
||||
state: 'off'
|
||||
|
@ -423,16 +443,14 @@
|
|||
- 63
|
||||
- 255
|
||||
- 0
|
||||
switch.skylar_led_cube:
|
||||
state: 'off'
|
||||
switch.rainbow_lamp:
|
||||
state: 'off'
|
||||
light.diffuser_skylars_bedroom:
|
||||
state: 'off'
|
||||
id: dca10298716d46ad86cb894bfac295a5
|
||||
|
||||
- name: skylar room day
|
||||
entities:
|
||||
switch.skylar_led_cube:
|
||||
state: 'off'
|
||||
switch.rainbow_lamp:
|
||||
state: 'off'
|
||||
light.wled_loftbed:
|
||||
|
|
|
@ -2,22 +2,16 @@ video_lighting_on:
|
|||
alias: Video Lighting On
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
entity_id: light.desk_accent_level_light_color_on_off
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
entity_id: light.kitchen_sink_level_light_color_on_off
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
entity_id: light.tower_spotlight_level_on_off
|
||||
- service: switch.turn_on
|
||||
data: {}
|
||||
entity_id: switch.tplink_a2
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
entity_id: light.kat_lamp
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
entity_id: light.jeff_lamp_level_light_color_on_off
|
||||
mode: single
|
||||
example_master_bedroom_lights_w_level:
|
||||
|
@ -65,15 +59,15 @@ tts_notification:
|
|||
state: main
|
||||
sequence:
|
||||
- service: media_player.turn_on
|
||||
entity_id: media_player.ha_speaker
|
||||
entity_id: media_player.ha_blue
|
||||
- service: media_player.volume_set
|
||||
target:
|
||||
entity_id: media_player.ha_speaker
|
||||
entity_id: media_player.ha_blue
|
||||
data:
|
||||
volume_level: 0.8
|
||||
- service: tts.amazon_polly_say
|
||||
data:
|
||||
entity_id: media_player.ha_speaker
|
||||
entity_id: media_player.ha_blue
|
||||
message: <speak> Welcome Home! </speak>
|
||||
default: []
|
||||
mode: single
|
||||
|
@ -117,7 +111,7 @@ randomize_vacation_lights_demo:
|
|||
- service: input_text.set_value
|
||||
data:
|
||||
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
|
||||
data:
|
||||
entity_id: '{{ states(''input_text.current_random_light'') }}'
|
||||
|
|
Loading…
Reference in New Issue