Updated with Proper automation to automatically activate the right theme for the chimes based on the month/holiday #984

This commit is contained in:
CCOSTAN 2024-10-19 16:10:53 +00:00
parent 277fdd89f3
commit 8a2141c78c
13 changed files with 10 additions and 2 deletions

View File

@ -45,8 +45,16 @@
{% endif %}
media_content_id: >
{% if now().strftime("%M")|int == 30 %}
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock-01.wav
{% if now().strftime("%B") == 'October' %}
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/october-clock/cuckoo-clock-01.wav
{% else %}
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock-{{now().strftime("%I")}}.wav
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckcoo-clockcuckoo-clock-01.wav
{% endif %}
{% else %}
{% if now().strftime("%B") == 'October' %}
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/october-clock/cuckoo-clock-{{now().strftime("%I")}}.wav
{% else %}
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckcoo-clock/cuckoo-clock-{{now().strftime("%I")}}.wav
{% endif %}
{% endif %}
media_content_type: audio/mp4

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.