mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Folder rename
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
script:
|
||||
scene_bedroom_neon:
|
||||
icon: "mdi:weather-night"
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.master_bedroom_main
|
||||
data:
|
||||
rgb_color: [255, 0, 190]
|
||||
brightness_pct: 40
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedside
|
||||
data:
|
||||
xy_color: [0.384, 0.159]
|
||||
brightness_pct: 1
|
||||
- service: light.turn_on
|
||||
entity_id: light.bed_led
|
||||
data:
|
||||
rgb_color: [0, 255, 190]
|
||||
brightness_pct: 100
|
||||
- service: light.turn_on
|
||||
entity_id: light.bed_led
|
||||
data:
|
||||
rgb_color: [0, 255, 190]
|
||||
- delay: 00:00:05
|
||||
- service: light.turn_on
|
||||
entity_id: light.bed_led
|
||||
|
||||
|
||||
scene_bedroom_regular:
|
||||
icon: "mdi:weather-sunny"
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.master_bedroom_main
|
||||
- light.bed_led
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_pct: 100
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedside
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_pct: 20
|
||||
@@ -0,0 +1,53 @@
|
||||
automation:
|
||||
- alias: Lighting · Hallway · Motion On
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.hallway_motion_occupancy
|
||||
to: "on"
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.hallway
|
||||
|
||||
default:
|
||||
- service: light.turn_on
|
||||
entity_id: light.light_lohas_6
|
||||
data:
|
||||
brightness_pct: 30
|
||||
- service: light.turn_on
|
||||
entity_id: light.light_le_8
|
||||
data:
|
||||
brightness_pct: 13
|
||||
|
||||
- alias: Lighting · Hallway · Motion Off
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.hallway_motion_occupancy
|
||||
to: "off"
|
||||
for:
|
||||
minutes: 5
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id: light.hallway
|
||||
default:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.light_le_8
|
||||
- light.light_lohas_6
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.light_lohas_6
|
||||
- light.light_le_8
|
||||
@@ -0,0 +1,98 @@
|
||||
automation:
|
||||
- alias: Lighting · Kitchen · Day mode · Motion · Turn lights on
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
to: "on"
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.georgi_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: "day"
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: sun
|
||||
after: sunset
|
||||
after_offset: "-01:00:00"
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 80
|
||||
- service: light.turn_on
|
||||
entity_id: light.tuya_kitchen
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
||||
- alias: Lighting · Kitchen · Day mode · Motion · Turn lights off
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
to: "off"
|
||||
for:
|
||||
minutes: 30
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: "day"
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: light.tuya_kitchen
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 5
|
||||
|
||||
- alias: Lighting · Kitchen · Night mode · Motion · Turn lights on
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
to: "on"
|
||||
condition:
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: "day"
|
||||
- condition: state
|
||||
entity_id: input_boolean.georgi_home
|
||||
state: "on"
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.light_le_12
|
||||
- light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 13 # this is the lowest LE will go ¯\_(ツ)_/¯
|
||||
|
||||
- alias: Lighting · Kitchen · Night mode · Motion · Turn lights off
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.kitchen_motion_occupancy
|
||||
to: "off"
|
||||
for:
|
||||
minutes: 5
|
||||
condition:
|
||||
condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: 'day'
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.light_le_12
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- service: light.turn_off
|
||||
entity_id: light.light_le_12
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 5
|
||||
@@ -0,0 +1,14 @@
|
||||
script:
|
||||
scene_living_room_ambient_neon:
|
||||
icon: "mdi:weather-night"
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.light_avatar_small_1
|
||||
data:
|
||||
xy_color: [0.668, 0.284]
|
||||
brightness_pct: 80
|
||||
- service: light.turn_on
|
||||
entity_id: light.living_room_ambient_main
|
||||
data:
|
||||
rgb_color: [0, 255, 190]
|
||||
brightness_pct: 100
|
||||
Reference in New Issue
Block a user