Skip to content

Commit

Permalink
homeassistant: fix passing payload to awtrix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Nov 29, 2024
1 parent 351db75 commit f9ba3ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/homeassistant/config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,12 @@ rest_command:
awtrix_notify:
url: "http://192.168.2.219/api/notify"
method: "post"
payload: "{{ states('input_text.awtrix_custom_payload') }}"
payload: "{{ payload }}"
content_type: "application/json"
awtrix_app:
url: "http://192.168.2.219/api/custom"
method: "post"
payload: "{{ states('input_text.awtrix_custom_payload') }}"
payload: "{{ payload }}"
content_type: "application/json"

cover:
Expand Down
4 changes: 2 additions & 2 deletions apps/homeassistant/manifests/homeassistant/configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,12 @@ data:
awtrix_notify:
url: "http://192.168.2.219/api/notify"
method: "post"
payload: "{{ states('input_text.awtrix_custom_payload') }}"
payload: "{{ payload }}"
content_type: "application/json"
awtrix_app:
url: "http://192.168.2.219/api/custom"
method: "post"
payload: "{{ states('input_text.awtrix_custom_payload') }}"
payload: "{{ payload }}"
content_type: "application/json"
cover:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
template:
metadata:
annotations:
checksum.config/md5: 2112b0a1cd63e42240a7d16aeac52a34
checksum.config/md5: 7cd1af157058537785f7daa44b436e55
labels:
app.kubernetes.io/component: server
app.kubernetes.io/name: homeassistant
Expand Down

0 comments on commit f9ba3ad

Please sign in to comment.