mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Adjust dashboard brightness automations
This commit is contained in:
@@ -7,8 +7,6 @@ input_select:
|
||||
- "Leaving"
|
||||
- "Coming Home"
|
||||
|
||||
|
||||
|
||||
automation:
|
||||
- alias: "Hallway tablet · Set to home after 10 minutes"
|
||||
trigger:
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
script:
|
||||
dashboards_light_down:
|
||||
alias: "Dashboards · Light down"
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.browser_kitchen
|
||||
- light.browser_hallway
|
||||
data:
|
||||
brightness_pct: 1
|
||||
@@ -17,8 +17,11 @@ automation:
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.hallway
|
||||
|
||||
entity_id:
|
||||
- light.hallway
|
||||
- light.browser_hallway
|
||||
data:
|
||||
brightness_pct: 100
|
||||
# Night Mode
|
||||
default:
|
||||
- service: light.turn_on
|
||||
@@ -41,6 +44,7 @@ automation:
|
||||
minutes: 5
|
||||
action:
|
||||
- choose:
|
||||
# Day Mode
|
||||
- conditions:
|
||||
condition: state
|
||||
entity_id: input_select.house_mode
|
||||
@@ -48,6 +52,11 @@ automation:
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id: light.hallway
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_hallway
|
||||
data:
|
||||
brightness_pct: 1
|
||||
# Night Mode
|
||||
default:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
@@ -57,6 +66,9 @@ automation:
|
||||
brightness_pct: 100
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.light_lohas_6
|
||||
- light.light_le_8
|
||||
- light.browser_hallway
|
||||
- light.light_lohas_6
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_hallway
|
||||
data:
|
||||
brightness_pct: 1
|
||||
|
||||
@@ -32,7 +32,6 @@ automation:
|
||||
entity_id: light.tuya_kitchen
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
||||
# Night Mode
|
||||
default:
|
||||
- service: light.turn_on
|
||||
@@ -49,10 +48,6 @@ automation:
|
||||
to: "off"
|
||||
for:
|
||||
minutes: 30
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: binary_sensor.georgi_home
|
||||
state: "on"
|
||||
action:
|
||||
- choose:
|
||||
# Day Mode
|
||||
@@ -62,14 +57,11 @@ automation:
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.tuya_kitchen
|
||||
- light.browser_kitchen
|
||||
# - service: light.turn_on
|
||||
# entity_id: light.browser_kitchen
|
||||
# data:
|
||||
# brightness_pct: 5
|
||||
|
||||
entity_id: light.tuya_kitchen
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 1
|
||||
# Night Mode
|
||||
default:
|
||||
- service: light.turn_on
|
||||
@@ -77,10 +69,8 @@ automation:
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.light_le_12
|
||||
- light.browser_kitchen
|
||||
# - service: light.turn_on
|
||||
# entity_id: light.browser_kitchen
|
||||
# data:
|
||||
# brightness_pct: 5
|
||||
entity_id: light.light_le_12
|
||||
- service: light.turn_on
|
||||
entity_id: light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 1
|
||||
|
||||
@@ -40,9 +40,4 @@ script:
|
||||
- media_player.living_room_tv
|
||||
- light.ceiling
|
||||
- switch.titanium
|
||||
- light.browser_kitchen
|
||||
- light.browser_hallway
|
||||
# - service: light.turn_on
|
||||
# entity_id: light.browser_kitchen
|
||||
# data:
|
||||
# brightness_pct: 1
|
||||
- service: script.dashboards_light_down
|
||||
|
||||
@@ -27,10 +27,4 @@ script:
|
||||
- media_player.living_room_tv
|
||||
- switch.titanium
|
||||
- group.all_radiators
|
||||
- light.browser_kitchen
|
||||
- light.browser_hallway
|
||||
|
||||
# - service: light.turn_on
|
||||
# entity_id: light.browser_kitchen
|
||||
# data:
|
||||
# brightness_pct: 1
|
||||
- service: script.dashboards_light_down
|
||||
|
||||
@@ -13,12 +13,7 @@ script:
|
||||
- climate.toshiba_ac
|
||||
- group.all_radiators
|
||||
- fan.philips_airpurifier
|
||||
- light.browser_kitchen
|
||||
- light.browser_hallway
|
||||
|
||||
- service: media_player.media_stop
|
||||
entity_id: group.all_sonos
|
||||
# - service: light.turn_on
|
||||
# entity_id: light.browser_kitchen
|
||||
# data:
|
||||
# brightness_pct: 1
|
||||
- service: script.dashboards_light_down
|
||||
|
||||
Reference in New Issue
Block a user