Automation to run during the month of december

Hello,

I am attemlting to write an automation that has a condition of during the month of december. Looking at the time/date component, it appears to pull the whole date. How can i filter this down to just the month? There doesnt seem to be any way to right a between this date and that date statement either?

Your assistance is appreciated.

You can use a template condition.

condition:
  condition: template
  value_template: '{{ now().strftime("%m") == "12" }}'

2 Likes

thank you. that’s exactly what I’ve been trying to figure out.