mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 09:58:17 +00:00
Updated some color with RGB Values.
This commit is contained in:
@@ -20,10 +20,29 @@ monthly_color_scene:
|
||||
name: "Launching Scene:"
|
||||
message: >
|
||||
"scene.month_
|
||||
{%- if now().strftime("%m%d")|int > 202 and now().strftime("%m%d")|int < 206 -%}
|
||||
valentines_day
|
||||
{%- if now().strftime("%m%d")|int == 101 -%}
|
||||
new_years_day
|
||||
{%- elif now().strftime("%m%d")|int == 212
|
||||
or now().strftime("%m%d")|int == 220
|
||||
or now().strftime("%m%d")|int == 520
|
||||
or now().strftime("%m%d")|int == 529
|
||||
or now().strftime("%m%d")|int == 614
|
||||
or now().strftime("%m%d")|int == 704
|
||||
or now().strftime("%m%d")|int == 904
|
||||
or now().strftime("%m%d")|int == 911
|
||||
or now().strftime("%m%d")|int == 1111
|
||||
-%}
|
||||
RWB
|
||||
{%- elif now().strftime("%m%d")|int >= 210
|
||||
and now().strftime("%m%d")|int <= 214-%}
|
||||
valentine
|
||||
{%- elif now().strftime("%m%d")|int == 228 -%}
|
||||
marti_gras
|
||||
{%- elif now().strftime("%m%d")|int >= 314
|
||||
and now().strftime("%m%d")|int <= 317-%}
|
||||
st_patty
|
||||
{%- else -%}
|
||||
{{ states('sensor.date').split('-')[1] }}
|
||||
standard
|
||||
{%- endif -%}_colors"
|
||||
|
||||
- service: scene.turn_on
|
||||
|
||||
@@ -25,7 +25,7 @@ voice_notify:
|
||||
conditions:
|
||||
- condition: time
|
||||
after: '09:00:00'
|
||||
before: '21:00:00'
|
||||
before: '22:00:00'
|
||||
- condition: state
|
||||
entity_id: input_boolean.alert_mode
|
||||
state: 'on'
|
||||
|
||||
Reference in New Issue
Block a user