Birthday
Uses the Google Calendar to show cake if someone in your contacts celibrates their birthday.
Built by Frank Oosterhuis
Published 9 May 2025 · updated 9 May 2025 · 3 downloads
Setup this integration: https://www.home-assistant.io/integrations/google/
Enter the correct calender-name and mqtt topic in the flow.
dZKg522E5yE2.yaml · 1.1 KB
alias: "Awtrix: Birthday"
description: ""
triggers:
- trigger: time_pattern
hours: "1"
conditions: []
actions:
- choose:
- conditions:
- alias: Someone's birthday?
condition: template
value_template: |-
{% set today = now().date() | string %}
{% set next = state_attr('calendar.verjaardagen', 'start_time') %}
{{ today in next }}
sequence:
- action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
qos: 0
retain: true
topic: awtrix_0afcb4/custom/birthday
payload: |-
{
"text": "{{ state_attr('calendar.verjaardagen', 'message') }}",
"icon": 46314,
"repeat": 1
}
alias: Publish app
default:
- alias: Remove app
action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
qos: 0
retain: false
topic: awtrix_0afcb4/custom/birthday
mode: single
These icons belong on the device, in /ICONS. Each one is at
most 32×8
pixels — shown here at actual proportions, magnified.
46314.jpg
8×8