This blueprint will help you create a sensor whose state is the current month name or any month-related value you want.
You can input a list of month names in your language or a list of abbreviated names if you don’t want to use the default English names.
blueprint:
author: Didgeridrew
homeassistant:
min_version: 2025.5.0
name: Month Name Sensor
description: Creates a sensor which holds a value related to the current month.
domain: template
input:
month_names:
name: Month Names
description: |
If you want the month names in a language other than English, or you want to use abbreviations,
list them from January to December.
selector:
text:
multiple: true
default: |
{{['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']}}
variables:
month_names: !input month_names
trigger:
- trigger: homeassistant
event: start
- trigger: time_pattern
hours: /12
sensor:
state: "{{ month_names[now().month -1] }}"
availability: "{{true}}"
Template Blueprints are currently (2025.05) only available through YAML configuration. You can find more details about how to use them at:
HA Docs - Templates - Using Blueprints
Month Name Configurations:
English (Default)
template:
- name: Current Month Name
unique_id: sensor_month_0001
use_blueprint:
path: Didgeridrew/month-name-sensor.yaml
Español
template:
- name: Mes Actual
unique_id: sensor_month_espanol_0002
use_blueprint:
path: Didgeridrew/month-name-sensor.yaml
input:
month_names:
- enero
- febrero
- marzo
- abril
- mayo
- junio
- julio
- agosto
- septiembre
- octubre
- noviembre
- diciembre
Türkçe
Contributed by: muratcesmecioglu
template:
- name: Şimdiki Ay
unique_id: sensor_month_turkish_0002
use_blueprint:
path: Didgeridrew/month-name-sensor.yaml
input:
month_names:
- Ocak
- Şubat
- Mart
- Nisan
- Mayıs
- Haziran
- Temmuz
- Ağustos
- Eylül
- Ekim
- Kasım
- Aralık
Deutsch
Contributed by: muratcesmecioglu
template:
- name: Aktueller Monat
unique_id: sensor_month_german_0002
use_blueprint:
path: Didgeridrew/month-name-sensor.yaml
input:
month_names:
- Januar
- Februar
- März
- April
- Mai
- Juni
- Juli
- August
- September
- Oktober
- November
- Dezember
Alternative Use Examples:
Since this blueprint provides a specific value for each month, it can also be used for other month-based use cases. Keep in mind that the values do not need to be unique.
Monthly Child Custody
template:
- name: Custody Schedule
unique_id: sensor_month_0003
use_blueprint:
path: Didgeridrew/month-name-sensor.yaml
input:
month_names:
- Odd Weekends
- Odd Weekends
- Odd Weekends
- Odd Weekends
- Odd Weekends
- Odd Weeks
- Full-Time
- Odd Weeks
- Odd Weekends
- Odd Weekends
- Odd Weekends
- Odd Weekends
Monthly Chore Rota
template:
- name: Garbage Duty
unique_id: sensor_month_0004
use_blueprint:
path: Didgeridrew/month-name-sensor.yaml
input:
month_names:
- Alex
- Blake
- Devon
- Alex
- Blake
- Devon
- Alex
- Blake
- Devon
- Alex
- Blake
- Devon
Custom Seasons
template:
- name: Caribbean Seasons
unique_id: sensor_month_0005
use_blueprint:
path: Didgeridrew/month-name-sensor.yaml
input:
month_names:
- Dry
- Dry
- Dry
- Wet
- Wet
- Hurricane
- Hurricane
- Hurricane
- Hurricane
- Hurricane
- Wet
- Dry
- This Post has been set to Wiki Mode. Please feel free edit this post to add configurations for other languages or use cases.