mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Clean up of Switch names and a fancy date time sensor!
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.halloween_lights_den
|
||||
entity_id: switch.outlet_den
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.halloween_lights_dining_room
|
||||
entity_id: switch.outlet_living_room
|
||||
|
||||
- alias: 'Holiday Stuff off'
|
||||
trigger:
|
||||
@@ -26,9 +26,9 @@
|
||||
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.halloween_lights_den
|
||||
entity_id: switch.outlet_den
|
||||
- delay: 00:00:30
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.halloween_lights_dining_room
|
||||
entity_id: switch.outlet_living_room
|
||||
|
||||
|
||||
@@ -25,12 +25,11 @@
|
||||
- platform: state
|
||||
entity_id: group.kitchen_lights
|
||||
state: 'off'
|
||||
for: '00:05:00'
|
||||
|
||||
condition:
|
||||
- condition: sun
|
||||
after: 'sunset'
|
||||
- condition: time
|
||||
before: '02:00:00'
|
||||
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
|
||||
@@ -6,11 +6,6 @@
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
- platform: time
|
||||
after: '20:00:00'
|
||||
#Time trigger is until I replace the stupid switch.
|
||||
# - platform: event
|
||||
# event_type: halloween_lights_on
|
||||
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
@@ -25,19 +20,13 @@
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunrise
|
||||
offset: '-03:30:00'
|
||||
# - platform: event
|
||||
# event_type: halloween_lights_off
|
||||
offset: '-03:30:00'
|
||||
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: group.outdoor_front_lights
|
||||
entity_id: group.all_lights
|
||||
data:
|
||||
transition: 1200
|
||||
- service: light.turn_off
|
||||
entity_id: light.outdoor_bathroom
|
||||
- service: light.turn_off
|
||||
entity_id: group.outdoor_lights
|
||||
transition: 1200
|
||||
- service: script.switch_turn_off_all
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user