Light adjustments
This commit is contained in:
@@ -55,15 +55,18 @@
|
||||
- service: script.andreas_color_scene
|
||||
- service: script.daniel_color_scene
|
||||
|
||||
- alias: 'Sluk lys stue'
|
||||
- alias: 'Sluk lys stue morgen'
|
||||
trigger:
|
||||
platform: numeric_state
|
||||
entity_id: sensor.forgang_sensor_illuminance
|
||||
above: 90
|
||||
above: 50
|
||||
for:
|
||||
minutes: 3
|
||||
# platform: sun
|
||||
# event: sunrise
|
||||
condition:
|
||||
- condition: time
|
||||
before: '12:00:00'
|
||||
action:
|
||||
- service: light.turn_off
|
||||
data:
|
||||
|
||||
@@ -13,8 +13,9 @@
|
||||
master: media_player.kokken
|
||||
entity_id:
|
||||
- media_player.badevaerelse
|
||||
# - media_player.sovevaerelse
|
||||
- media_player.sovevaerelse
|
||||
- media_player.stue
|
||||
- media_player.alrum
|
||||
- media_player.kokken
|
||||
|
||||
|
||||
|
||||
@@ -24,4 +24,12 @@
|
||||
# entity_id:
|
||||
# - light.havelys
|
||||
|
||||
- alias: 'Sluk lys have aften'
|
||||
trigger:
|
||||
platform: time
|
||||
at: "22:00:00"
|
||||
action:
|
||||
- service: light.turn_off
|
||||
data:
|
||||
entity_id: light.havelys
|
||||
|
||||
|
||||
@@ -4,6 +4,16 @@
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
###################################
|
||||
|
||||
- alias: 'Stue start igen'
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunrise
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
data:
|
||||
entity_id: input_boolean.first_run_stue
|
||||
|
||||
|
||||
- alias: 'Sunset Stuff on'
|
||||
trigger:
|
||||
platform: state
|
||||
@@ -17,6 +27,9 @@
|
||||
- condition: time
|
||||
after: '15:00:00'
|
||||
before: '22:00:00'
|
||||
- condition: state
|
||||
entity_id: input_boolean.first_run_stue
|
||||
state: 'off'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.forgang_sensor_illuminance
|
||||
below: 50
|
||||
@@ -24,9 +37,14 @@
|
||||
action:
|
||||
# - delay: '00:{{ (range(1, 20)|random|int) }}:00'
|
||||
- service: script.monthly_color_scene
|
||||
- service: input_boolean.turn_on
|
||||
data:
|
||||
entity_id: input_boolean.first_run_stue
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.stue
|
||||
- light.raket
|
||||
- light.stol
|
||||
- light.syd
|
||||
- light.pendle1
|
||||
- light.pendle2
|
||||
- light.panton
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
- '2022-02-24'
|
||||
- '2022-02-25'
|
||||
- '2022-04-11'
|
||||
- '2022-04-12'
|
||||
- '2022-04-13'
|
||||
- '2022-05-27'
|
||||
- '2022-06-27'
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
- light.hue_lightstrip_plus_1_2
|
||||
- light.raket
|
||||
- light.stol
|
||||
- light.syd
|
||||
- light.pendle1
|
||||
- light.pendle2
|
||||
- light.panton
|
||||
- light.badevaerelse
|
||||
- light.sovevaerelse
|
||||
- light.gang
|
||||
@@ -32,13 +34,17 @@
|
||||
- light.bad_ne
|
||||
- light.bad_sw
|
||||
- light.bad_se
|
||||
- light.spejl1
|
||||
- light.spejl2
|
||||
|
||||
- platform: group
|
||||
name: livingroom
|
||||
entities:
|
||||
- light.raket
|
||||
- light.stol
|
||||
- light.syd
|
||||
- light.pendle1
|
||||
- light.pendle2
|
||||
- light.panton
|
||||
|
||||
- platform: group
|
||||
name: kids
|
||||
|
||||
@@ -1,8 +1,20 @@
|
||||
monthly_standard_colors:
|
||||
standard_monthly_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 30
|
||||
transition: 300
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 30
|
||||
transition: 300
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 30
|
||||
transition: 300
|
||||
@@ -14,7 +26,7 @@ monthly_standard_colors:
|
||||
transition: 300
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 80
|
||||
transition: 300
|
||||
@@ -23,7 +35,19 @@ monthly_valentine_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -35,7 +59,7 @@ monthly_valentine_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Crimson'
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -44,7 +68,19 @@ monthly_mardi_gras_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -56,7 +92,7 @@ monthly_mardi_gras_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Green'
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -65,7 +101,19 @@ monthly_pi_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -77,7 +125,7 @@ monthly_pi_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
rgb_color: [3,14,159]
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -86,7 +134,19 @@ monthly_st_patty_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Green'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Green'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Green'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -98,7 +158,7 @@ monthly_st_patty_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Green'
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -107,7 +167,19 @@ monthly_easter_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -119,7 +191,7 @@ monthly_easter_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
rgb_color: [255,193,204]
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -128,7 +200,19 @@ monthly_starwars_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -140,7 +224,7 @@ monthly_starwars_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
rgb_color: [245,245,245]
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -149,7 +233,19 @@ monthly_cinco_de_mayo_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -161,7 +257,7 @@ monthly_cinco_de_mayo_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
rgb_color: [245,245,245]
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -170,7 +266,19 @@ monthly_mothers_day_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -182,7 +290,7 @@ monthly_mothers_day_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
rgb_color: [244,187,255]
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -191,7 +299,19 @@ monthly_fathers_day_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -203,7 +323,7 @@ monthly_fathers_day_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Blue'
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -212,7 +332,19 @@ monthly_halloween_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -224,7 +356,7 @@ monthly_halloween_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
rgb_color: [235,97,35]
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -233,7 +365,19 @@ monthly_thanksgiving_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -245,7 +389,7 @@ monthly_thanksgiving_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Orange'
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -254,7 +398,19 @@ monthly_christmas_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -266,7 +422,7 @@ monthly_christmas_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Green'
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
@@ -275,7 +431,19 @@ monthly_new_years_day_colors:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stue
|
||||
entity_id: light.pendle1
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.pendle2
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.panton
|
||||
color_name: 'Gold'
|
||||
brightness_pct: 50
|
||||
transition: 900
|
||||
@@ -287,7 +455,7 @@ monthly_new_years_day_colors:
|
||||
transition: 900
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.stol
|
||||
entity_id: light.syd
|
||||
color_name: 'Yellow'
|
||||
brightness_pct: 80
|
||||
transition: 900
|
||||
|
||||
Reference in New Issue
Block a user