mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 18:08:04 +00:00
Some Housekeeping for my new Hue Light.
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
brightness: 255
|
brightness: 255
|
||||||
light.outdoor_sconce_3:
|
light.outdoor_sconce_3:
|
||||||
state: on
|
state: on
|
||||||
|
color_name: 'Gold'
|
||||||
brightness: 255
|
brightness: 255
|
||||||
light.garage_left:
|
light.garage_left:
|
||||||
state: on
|
state: on
|
||||||
@@ -52,6 +53,7 @@
|
|||||||
brightness: 255
|
brightness: 255
|
||||||
light.outdoor_sconce_3:
|
light.outdoor_sconce_3:
|
||||||
state: on
|
state: on
|
||||||
|
color_name: 'Blue'
|
||||||
brightness: 255
|
brightness: 255
|
||||||
light.garage_left:
|
light.garage_left:
|
||||||
state: on
|
state: on
|
||||||
@@ -82,6 +84,7 @@
|
|||||||
brightness: 255
|
brightness: 255
|
||||||
light.outdoor_sconce_3:
|
light.outdoor_sconce_3:
|
||||||
state: on
|
state: on
|
||||||
|
color_name: 'White'
|
||||||
brightness: 255
|
brightness: 255
|
||||||
light.garage_left:
|
light.garage_left:
|
||||||
state: on
|
state: on
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
######################################################################################################
|
######################################################################################################
|
||||||
###Script to turn on scene for the appropriate month for the front of the house but only when the sun is down.
|
###Script to turn on scene for the appropriate month for the front of the house but only when the sun is down.
|
||||||
# action:
|
# action:
|
||||||
# - service: script.monthly_front_house_scene
|
# - service: script.monthly_front_house_scene
|
||||||
#
|
#
|
||||||
# scenes should be named month_front_[1-12]_colors (month_front_6_colors)
|
# scenes should be named month_front_[1-12]_colors (month_front_6_colors)
|
||||||
######################################################################################################
|
######################################################################################################
|
||||||
|
|
||||||
monthly_front_house_scene:
|
monthly_front_house_scene:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: sun
|
- condition: state
|
||||||
before: 'sunrise'
|
entity_id: sun.sun
|
||||||
|
state: 'below.horizon'
|
||||||
- service: scene.turn_on
|
|
||||||
data_template:
|
- service: scene.turn_on
|
||||||
entity_id: "scene.month_front_{{ states('sensor.date').split('-')[1] }}_colors"
|
data_template:
|
||||||
|
entity_id: "scene.month_front_{{ states('sensor.date').split('-')[1] }}_colors"
|
||||||
|
|
||||||
Reference in New Issue
Block a user