initial push

This commit is contained in:
CeeWeasel
2024-04-14 14:08:56 -04:00
commit 53bf393d14
1111 changed files with 71730 additions and 0 deletions
@@ -0,0 +1,79 @@
alias: Great Room Lights to Off
id: automation_great_room_lights_to_off
mode: restart
trigger:
- platform: state
entity_id: input_select.great_room_mode
- platform: state
entity_id: input_boolean.great_room_occupied
to: 'off'
- platform: state
id: light_level
entity_id: binary_sensor.great_room_naturally_lit
from: 'off'
to: 'on'
#- platform: time_pattern
# minutes: "/5"
condition:
- condition: or
conditions:
- condition: state
entity_id: input_select.great_room_mode
state: 'Off'
- condition: state
entity_id: input_boolean.great_room_occupied
state: 'off'
- condition: state
entity_id: input_boolean.great_room_light_cycle
state: 'off'
action:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.lighting_automations
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: input_select.great_room_mode
state: 'Off'
- condition: state
entity_id: input_boolean.great_room_occupied
state: 'off'
- condition: not
conditions:
- condition: state
entity_id: input_select.great_room_mode
state: 'Manual'
sequence:
- service: scene.turn_on
data:
transition: 5
target:
entity_id: scene.great_room_hue_off
# - service: light.turn_off
# target:
# entity_id: light.basement_2, light.basement_3, light.basement_4, light.basement_5
- choose:
- conditions:
- condition: state
entity_id: light.computer_area_hue
state: 'off'
- condition: state
entity_id: input_boolean.guest_mode
state: 'on'
sequence:
- alias: "Turn off z-wave switch since all lights are off"
service: homeassistant.turn_off
target:
entity_id: switch.great_room_motion_switch
default:
- service: light.turn_off
target:
entity_id: light.great_room_hue