Super Cool Monthly Scenes thanks to @DALE3H!

This commit is contained in:
CCOSTAN
2016-12-02 03:13:08 +00:00
parent 34771704aa
commit 4cfc88b026
2 changed files with 24 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
######################################################################################################
###Script to turn on scene for the appropriate month for the front of the house.
# action:
# - service: script.monthly_front_house_scene
#
# scenes should be named month_front_[1-12]_colors (month_front_6_colors)
######################################################################################################
monthly_front_house_scene:
sequence:
- service: scene.turn_on
data_template:
entity_id: "scene.month_front_{{ states('sensor.date').split('-')[1] }}_colors"