homelab-codex-ws/services/home-assistant/config/ken/scripts/notify_email_ntfy.yaml
oskar 1b48fad451 feat(ha): initial import of ken instance config
First production run of the api adapter against ken (192.168.31.7,
HAOS): 118 automations, 5 scripts, 3 scenes, 7 dashboards (default + 6
named — one registered dashboard was never configured, config_not_found,
reported not fatal), area/entity registries, and 5 input_* helper
domains present on this instance.
2026-07-22 18:07:26 +02:00

26 lines
692 B
YAML

alias: notify_email_ntfy
description: ''
fields:
message:
description: Treść powiadomienia
example: Wykryto ruch w salonie
title:
description: Tytuł powiadomienia
example: Alarm
sequence:
- action: rest_command.ntfy_send
data:
message: "{% if title is defined and title|length > 0 %}\n {{ title }}: {{ message }}\n{% else %}\n {{ message }}\n{% endif %}"
- choose:
- conditions: '{{ title is defined and title|length > 0 }}'
sequence:
- action: notify.email_notification
data:
message: '{{ message }}'
title: '{{ title }}'
default:
- action: notify.email_notification
data:
message: ''
title: '{{ message }}'