Skip to content

Commit

Permalink
Update automation-2.9-xmas-countdown.yaml
Browse files Browse the repository at this point in the history
Update of the word 'till to 'til .... good grammar and language is life!
  • Loading branch information
chunkysteveo authored Nov 27, 2024
1 parent 66b9897 commit a69de8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation-2.9-xmas-countdown.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alias: Epaper Tags - Xmas Advent Countdown
description: "Count down the days till Christmas Day! The date of Christmas is set in the variable days_until_xmas and shouldn't need altering year on year. All images are pulled down from an external server (https://www.chunkymedia.co.uk) - keep you surprised! All images are royalty free from Pixabay. The text used is 'Days 'till Christmas', 'Day 'till Christmas', and 'Merry Christmas' - adjust according to your local language. Edit in YAML."
description: "Count down the days till Christmas Day! The date of Christmas is set in the variable days_until_xmas and shouldn't need altering year on year. All images are pulled down from an external server (https://www.chunkymedia.co.uk) - keep you surprised! All images are royalty free from Pixabay. The text used is 'Days 'til Christmas', 'Day 'til Christmas', and 'Merry Christmas' - adjust according to your local language. Edit in YAML."
trigger:
- platform: time
at: "00:05:00"
Expand Down Expand Up @@ -36,7 +36,7 @@ action:
- type: text
value: |-
{% if days_until_xmas > 0 %}
{{ ("Days" if days_until_xmas > 1 else "Day") | string + " 'till"}}
{{ ("Days" if days_until_xmas > 1 else "Day") | string + " 'til"}}
{% else %}
Merry
{% endif %}
Expand Down

0 comments on commit a69de8c

Please sign in to comment.