Updated Holiday colors for 2018
This commit is contained in:
parent
b3012562b0
commit
97e4a82644
|
@ -39,7 +39,7 @@ sensor:
|
||||||
{{ holiday }}
|
{{ holiday }}
|
||||||
|
|
||||||
- platform: rest
|
- platform: rest
|
||||||
resource: http://www.webcal.fi/cal.php?id=335&format=json&start_year=current_year&end_year=2017&tz=America%2FNew_York
|
resource: http://www.webcal.fi/cal.php?id=335&format=json&start_year=current_year&end_year=2018&tz=America%2FNew_York
|
||||||
name: Flag
|
name: Flag
|
||||||
scan_interval: 14400
|
scan_interval: 14400
|
||||||
value_template: >-
|
value_template: >-
|
||||||
|
|
|
@ -31,8 +31,8 @@ monthly_color_scene:
|
||||||
{%- elif now().strftime("%m%d")|int >= 315
|
{%- elif now().strftime("%m%d")|int >= 315
|
||||||
and now().strftime("%m%d")|int <= 317-%}
|
and now().strftime("%m%d")|int <= 317-%}
|
||||||
st_patty
|
st_patty
|
||||||
{%- elif now().strftime("%m%d")|int >= 414
|
{%- elif now().strftime("%m%d")|int >= 328
|
||||||
and now().strftime("%m%d")|int <= 416-%}
|
and now().strftime("%m%d")|int <= 401-%}
|
||||||
easter
|
easter
|
||||||
{%- elif now().strftime("%m%d")|int == 422 -%}
|
{%- elif now().strftime("%m%d")|int == 422 -%}
|
||||||
st_patty
|
st_patty
|
||||||
|
@ -42,21 +42,21 @@ monthly_color_scene:
|
||||||
cinco_de_mayo
|
cinco_de_mayo
|
||||||
{%- elif now().strftime("%m%d")|int == 514 -%}
|
{%- elif now().strftime("%m%d")|int == 514 -%}
|
||||||
valentine
|
valentine
|
||||||
{%- elif now().strftime("%m%d")|int == 618 -%}
|
{%- elif now().strftime("%m%d")|int == 617 -%}
|
||||||
fathers_day
|
fathers_day
|
||||||
{%- elif now().strftime("%m%d")|int >= 1001
|
{%- elif now().strftime("%m%d")|int >= 1001
|
||||||
and now().strftime("%m%d")|int <= 1031-%}
|
and now().strftime("%m%d")|int <= 1031-%}
|
||||||
halloween
|
halloween
|
||||||
{%- elif now().strftime("%m%d")|int >= 1123
|
{%- elif now().strftime("%m%d")|int >= 1122
|
||||||
and now().strftime("%m%d")|int <= 1124-%}
|
and now().strftime("%m%d")|int <= 1123-%}
|
||||||
thanksgiving
|
thanksgiving
|
||||||
{%- elif now().strftime("%m%d")|int >= 1125
|
{%- elif now().strftime("%m%d")|int >= 1125
|
||||||
and now().strftime("%m%d")|int <= 1211-%}
|
and now().strftime("%m%d")|int <= 1201-%}
|
||||||
christmas
|
christmas
|
||||||
{%- elif now().strftime("%m%d")|int >= 1212
|
{%- elif now().strftime("%m%d")|int >= 1202
|
||||||
and now().strftime("%m%d")|int <= 1220-%}
|
and now().strftime("%m%d")|int <= 1210-%}
|
||||||
hanukkah
|
hanukkah
|
||||||
{%- elif now().strftime("%m%d")|int >= 1221
|
{%- elif now().strftime("%m%d")|int >= 1211
|
||||||
and now().strftime("%m%d")|int <= 1230-%}
|
and now().strftime("%m%d")|int <= 1230-%}
|
||||||
christmas
|
christmas
|
||||||
{%- elif now().strftime("%m%d")|int == 1231 -%}
|
{%- elif now().strftime("%m%d")|int == 1231 -%}
|
||||||
|
@ -66,29 +66,11 @@ monthly_color_scene:
|
||||||
{%- endif -%}_colors
|
{%- endif -%}_colors
|
||||||
|
|
||||||
|
|
||||||
# http://www.calendar-365.com/holidays/2017.html
|
# http://www.calendar-365.com/holidays/2018.html
|
||||||
# 101 New_years_day (colorloop)
|
# 213 Mardi Gras (purple, green, gold )
|
||||||
# RWB 212 Lincoln's Birthday
|
# 330 Good Friday
|
||||||
# 214 Valentine's Day (pink, red)
|
# 401 Easter
|
||||||
# RWB 220 President's Day
|
# 513 Mother's Day (pink, red) - Same as Valentine
|
||||||
# 228 Mardi Gras (purple, green, gold )
|
# 617 Fathers day (Orange, Blue)
|
||||||
# 317 st Patty (green)
|
# 1122 Thanksgiving
|
||||||
# 414 Good Friday
|
# 1202 Hanukkah start 8 days.
|
||||||
# 416 Easter
|
|
||||||
# 422 Earth Day
|
|
||||||
# 505 Cinco de Mayo (green, white, red)
|
|
||||||
# 514 Mother's Day (pink, red) - Same as Valentine
|
|
||||||
# RWB 520 Armed Forces Day
|
|
||||||
# RWB 529 Memorial Day
|
|
||||||
# RWB 614 Flag Day
|
|
||||||
# 618 Fathers day (Orange, Blue)
|
|
||||||
# RWB 704 July 4th
|
|
||||||
# RWB 904 Labor Day
|
|
||||||
# RWB 911 Patriots day
|
|
||||||
# RWB 1009 columbus day
|
|
||||||
# 1005 - 1031 halloween
|
|
||||||
# RWB 1111 veterans day
|
|
||||||
# 1123 Thanksgiving
|
|
||||||
# 1212 Hanukkah start 8 days.
|
|
||||||
# 1225 Chrismas
|
|
||||||
# 1231 New years eve
|
|
||||||
|
|
Loading…
Reference in New Issue