Added in Mother's day and updated some floating dates on my Holiday color scripting. https://www.youtube.com/watch?v=nsWq4uVrQ0g

This commit is contained in:
ccostan 2019-02-15 11:21:01 -05:00
parent ebd75965c8
commit d760217dd2
2 changed files with 23 additions and 15 deletions

View File

@ -217,6 +217,13 @@
state: 'on'
color_name: 'white'
- name: month_mothers_day_colors
entities:
group.outdoor_front_lights:
state: 'on'
#color_name: 'Lavender'
rgb_color: [244,187,255]
- name: month_fathers_day_colors
entities:
light.outdoor_foyer:

View File

@ -29,41 +29,42 @@ monthly_color_scene:
{%- elif now().strftime("%m%d")|int >= 210
and now().strftime("%m%d")|int <= 214-%}
valentine
{%- elif now().strftime("%m%d")|int == 228 -%}
{%- elif now().strftime("%m%d")|int == 305 -%}
marti_gras
{%- elif now().strftime("%m%d")|int == 314 -%}
pi
{%- elif now().strftime("%m%d")|int >= 315
and now().strftime("%m%d")|int <= 317-%}
st_patty
{%- elif now().strftime("%m%d")|int >= 328
and now().strftime("%m%d")|int <= 401-%}
{%- elif now().strftime("%m%d")|int >= 418
and now().strftime("%m%d")|int <= 421-%}
easter
{%- elif now().strftime("%m%d")|int == 422 -%}
st_patty
{%- elif now().strftime("%m%d")|int == 504 -%}
starwars
{%- elif now().strftime("%m%d")|int == 505 -%}
cinco_de_mayo
{%- elif now().strftime("%m%d")|int == 514 -%}
valentine
{%- elif now().strftime("%m%d")|int == 617 -%}
{%- elif now().strftime("%m%d")|int == 512 -%}
mothers_day
{%- elif now().strftime("%m%d")|int == 616 -%}
fathers_day
{%- elif now().strftime("%m%d")|int >= 1001
and now().strftime("%m%d")|int <= 1031-%}
halloween
{%- elif now().strftime("%m%d")|int >= 1122
and now().strftime("%m%d")|int <= 1123-%}
{%- elif now().strftime("%m%d")|int >= 1128
and now().strftime("%m%d")|int <= 1130-%}
thanksgiving
{%- elif now().strftime("%m%d")|int >= 1125
and now().strftime("%m%d")|int <= 1201-%}
and now().strftime("%m%d")|int <= 1221-%}
christmas
{%- elif now().strftime("%m%d")|int >= 1202
and now().strftime("%m%d")|int <= 1210-%}
{%- elif now().strftime("%m%d")|int >= 1222
and now().strftime("%m%d")|int <= 1223-%}
hanukkah
{%- elif now().strftime("%m%d")|int >= 1211
and now().strftime("%m%d")|int <= 1230-%}
{%- elif now().strftime("%m%d")|int >= 1224
and now().strftime("%m%d")|int <= 1225-%}
christmas
{%- elif now().strftime("%m%d")|int >= 1226
and now().strftime("%m%d")|int <= 1230-%}
hanukkah
{%- elif now().strftime("%m%d")|int == 1231 -%}
new_years_day
{%- else -%}