Add option to use month(s) of the year as Condition of Automations

Hi, I have automations built in the UI that I would like to run only during certain months of the year (i.e. October-March for example). This is to enable automations to be seasonal. For example Christmas lights that only come on during the month of December. (In my case I want to have my hot tub heater react differently to solar panel output in the winter months than it does in the summer months).

Currently the Time option only allows time, day of week. Being able to chose the ‘month’ as well would be amazing.

What is wrong with a template condition ?

example:

- condition: template
  value_template: '{{ now().month >= 10 or now().month <= 4 }}'
2 Likes

Also don’t forget the season sensor

And a bunch of other time based template things.
Getting time and date with templates.