feat: Change ntfy from REST to Shell Command

This commit is contained in:
2024-11-17 17:03:26 -08:00
parent 6eb13f90e3
commit bb7af1a4f9

View File

@@ -17,16 +17,16 @@ notify:
data:
title: Home Assistant
- name: ntfy
platform: rest
method: POST_JSON
resource: !secret ntfy_url
headers:
Authorization: !secret ntfy_token
title_param_name: title
message_param_name: message
data:
topic: home_assistant
# - name: ntfy
# platform: rest
# method: POST_JSON
# resource: !secret ntfy_url
# headers:
# Authorization: !secret ntfy_token
# title_param_name: title
# message_param_name: message
# data:
# topic: home_assistant
# `notify.security` used for high-priority security reporting including
# arm/disarm and alarm events. Also used for all camera events and the
@@ -71,3 +71,8 @@ notify:
services:
- action: iphone_jp
- action: iphone_jen
# -----------------------------------------------------------------------------
# Shell Command for ntfy
shell_command:
ntfy: !secret ntfy_command