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