mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +00:00
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:
@@ -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 -%}
|
||||
|
Reference in New Issue
Block a user