Get rid of my DAYLIGHT oVERRIDE BOOLEAN. jUST DIDN'T NEED IT anymore.
This commit is contained in:
parent
3fb9e82820
commit
8cc6b35339
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
- alias: 'Sunset Stuff off'
|
- alias: 'Sunset Stuff off'
|
||||||
id: 232b95e8-1354-4f63-8ae4-1063f300f2f0
|
id: 232b95e8-1354-4f63-8ae4-1063f300f2f0
|
||||||
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: sun
|
- platform: sun
|
||||||
event: sunrise
|
event: sunrise
|
||||||
|
@ -59,7 +60,6 @@
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- input_boolean.medicine
|
- input_boolean.medicine
|
||||||
- input_boolean.daylight_override
|
|
||||||
- input_boolean.guest_mode
|
- input_boolean.guest_mode
|
||||||
|
|
||||||
- service: homeassistant.update_entity #Look for a new Home Assistant Version
|
- service: homeassistant.update_entity #Look for a new Home Assistant Version
|
||||||
|
|
|
@ -60,10 +60,7 @@
|
||||||
- light.living_room_accents
|
- light.living_room_accents
|
||||||
brightness: 255
|
brightness: 255
|
||||||
kelvin: 5500
|
kelvin: 5500
|
||||||
|
|
||||||
- service: input_boolean.turn_on
|
|
||||||
entity_id:
|
|
||||||
- input_boolean.daylight_override
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}} outside. I will turn on some extra lights in the living room."
|
value1: "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}} outside. I will turn on some extra lights in the living room."
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
entity_id: automation.toggle_office_light_onoff
|
entity_id: automation.toggle_office_light_onoff
|
||||||
- service: light.toggle
|
- service: light.toggle
|
||||||
entity_id: light.office_lamp
|
entity_id: light.office_lamp
|
||||||
- service: input_boolean.turn_on
|
|
||||||
entity_id: input_boolean.daylight_override
|
|
||||||
- delay:
|
- delay:
|
||||||
minutes: 1
|
minutes: 1
|
||||||
# enable this automation - This prevents duplicate pushes.
|
# enable this automation - This prevents duplicate pushes.
|
||||||
|
|
|
@ -18,16 +18,11 @@ binary_sensor:
|
||||||
payload_off: 0
|
payload_off: 0
|
||||||
device_class: motion
|
device_class: motion
|
||||||
|
|
||||||
# This boolean gets reset every night in the sunset automation.
|
|
||||||
# Gets turned on by dash button automation primarily.
|
|
||||||
input_boolean:
|
|
||||||
daylight_override:
|
|
||||||
name: Daylight Override
|
|
||||||
initial: off
|
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: 'Motion in the Office - Turn on Light'
|
- alias: 'Motion in the Office - Turn on Light'
|
||||||
id: 5a8e9dc3-a851-4cce-a054-d96f599cb1f5
|
id: 5a8e9dc3-a851-4cce-a054-d96f599cb1f5
|
||||||
|
mode: restart
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
|
@ -36,9 +31,6 @@ automation:
|
||||||
from: 'off'
|
from: 'off'
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: 'home'
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.office_lights
|
entity_id: light.office_lights
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
@ -50,22 +42,6 @@ automation:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- condition: or
|
|
||||||
conditions:
|
|
||||||
- condition: time
|
|
||||||
after: '18:00:00'
|
|
||||||
- condition: state
|
|
||||||
entity_id: sun.sun
|
|
||||||
state: 'below_horizon'
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.daylight_override
|
|
||||||
state: 'on'
|
|
||||||
- condition: numeric_state
|
|
||||||
entity_id: sensor.dark_sky_cloud_coverage
|
|
||||||
above: 90
|
|
||||||
- condition: numeric_state
|
|
||||||
entity_id: sensor.dark_sky_precip_intensity
|
|
||||||
above: 1
|
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
|
@ -73,6 +49,7 @@ automation:
|
||||||
|
|
||||||
- alias: 'Motion in the Office - Turn off Light'
|
- alias: 'Motion in the Office - Turn off Light'
|
||||||
id: 346d8210-2160-4911-8be0-1ad696cc69d1
|
id: 346d8210-2160-4911-8be0-1ad696cc69d1
|
||||||
|
mode: restart
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 37 KiB |
Binary file not shown.
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 189 KiB |
Loading…
Reference in New Issue