feat: Change ntfy from REST to Shell Command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user