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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user