mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-21 00:25:12 +00:00
Moving stuff around. Changing sunrise and sunset type automations.
This commit is contained in:
parent
a421ccaeb5
commit
d068bedf36
@ -11,9 +11,6 @@
|
|||||||
state: 'Offline'
|
state: 'Offline'
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: home
|
|
||||||
- condition: time
|
- condition: time
|
||||||
after: '20:00:00'
|
after: '20:00:00'
|
||||||
- condition: state
|
- condition: state
|
||||||
|
@ -8,10 +8,9 @@
|
|||||||
event: sunset
|
event: sunset
|
||||||
|
|
||||||
action:
|
action:
|
||||||
|
- service: switch.turn_on
|
||||||
- service: script.monthly_front_house_scene
|
entity_id:
|
||||||
- service: script.holiday_switches_on
|
- switch.front_door_outlet
|
||||||
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
|
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.outdoor_bathroom
|
- light.outdoor_bathroom
|
||||||
@ -19,14 +18,16 @@
|
|||||||
- light.tv_stand_light
|
- light.tv_stand_light
|
||||||
data:
|
data:
|
||||||
transition: 1200
|
transition: 1200
|
||||||
|
- service: script.holiday_switches_on
|
||||||
|
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
|
||||||
|
- service: script.monthly_front_house_scene
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
- alias: 'Sunset Stuff off'
|
- alias: 'Sunset Stuff off'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: sun
|
- platform: sun
|
||||||
event: sunrise
|
event: sunrise
|
||||||
# offset: '-0{{ (range(1, 3)|random|int) }}:{{ (range(1, 59)|random|int) }}:00'
|
offset: '-01:00:00'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
|
@ -65,8 +65,8 @@ switch.Outlet_304_2:
|
|||||||
icon: mdi:power-plug
|
icon: mdi:power-plug
|
||||||
assumed_state: true
|
assumed_state: true
|
||||||
|
|
||||||
switch.Outlet_304_3:
|
switch.Front_Door_Outlet:
|
||||||
friendly_name: 'Outlet_304_3'
|
friendly_name: 'Front Door Outlet'
|
||||||
emulated_hue: true
|
emulated_hue: true
|
||||||
icon: mdi:power-plug
|
icon: mdi:power-plug
|
||||||
assumed_state: true
|
assumed_state: true
|
||||||
|
@ -5,4 +5,5 @@ Switches:
|
|||||||
- switch.foyer_outlet
|
- switch.foyer_outlet
|
||||||
- switch.kitchen_Accents
|
- switch.kitchen_Accents
|
||||||
- switch.printer_outlet
|
- switch.printer_outlet
|
||||||
|
- switch.front_door_outlet
|
||||||
|
|
@ -15,6 +15,8 @@ holiday_switches_on:
|
|||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.foyer_outlet
|
entity_id: switch.foyer_outlet
|
||||||
- delay: 00:00:30
|
- delay: 00:00:30
|
||||||
|
- service: switch.turn_on
|
||||||
|
entity_id: switch.front_door_outlet
|
||||||
|
|
||||||
- condition: sun
|
- condition: sun
|
||||||
after: sunset
|
after: sunset
|
||||||
|
@ -31,7 +31,7 @@ switch_turn_off_all:
|
|||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.living_room_amp
|
entity_id: switch.living_room_amp
|
||||||
- delay: '00:01:00'
|
- delay: '00:01:00'
|
||||||
- service: switch.turn_on
|
- service: switch.turn_off
|
||||||
entity_id: switch.Outlet_304_4
|
entity_id: switch.Outlet_304_4
|
||||||
|
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
signal_repetitions: 40
|
signal_repetitions: 40
|
||||||
|
|
||||||
# Outlet 304_3
|
# Outlet 304_3
|
||||||
Outlet_304_3:
|
Front_Door_Outlet:
|
||||||
protocol: 1
|
protocol: 1
|
||||||
pulselength: 186
|
pulselength: 186
|
||||||
code_on: 5330691
|
code_on: 5330691
|
||||||
|
Loading…
x
Reference in New Issue
Block a user