mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
nursery to girls room... finally
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
alias: Nursery Dimmer LEDs
|
||||
id: automation_nursery_dimmer_leds
|
||||
alias: Girls Room Dimmer LEDs
|
||||
id: automation_girls_room_dimmer_leds
|
||||
mode: single
|
||||
# Hide warnings when triggered while in delay.
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
|
||||
- platform: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
# condition:
|
||||
# - "{{ is_state('sensor.nursery_dimmer_node_status','alive') }}"
|
||||
# - "{{ is_state('sensor.girls_room_dimmer_node_status','alive') }}"
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- alias: "Light off"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: zwave_js.set_config_parameter
|
||||
@@ -42,7 +42,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 78"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 78
|
||||
sequence:
|
||||
@@ -62,7 +62,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 104"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 104
|
||||
sequence:
|
||||
@@ -82,7 +82,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 130"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 130
|
||||
sequence:
|
||||
@@ -102,7 +102,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 156"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 156
|
||||
sequence:
|
||||
@@ -122,7 +122,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 182"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 182
|
||||
sequence:
|
||||
@@ -142,7 +142,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 208"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 208
|
||||
sequence:
|
||||
@@ -162,7 +162,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 234"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 234
|
||||
sequence:
|
||||
|
||||
Reference in New Issue
Block a user