Skip to content

Commit

Permalink
Remove HTML5 notification from yaml config
Browse files Browse the repository at this point in the history
  • Loading branch information
rohankapoorcom committed Jan 7, 2025
1 parent 93cdbbd commit 2f3eeb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
14 changes: 6 additions & 8 deletions packages/notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ mailgun:
api_key: !secret mailgun.api_key

notify:
- name: FirebasePush
platform: html5
vapid_prv_key: !secret notify.gcm.vapid_prv_key
vapid_pub_key: !secret notify.gcm.vapid_pub_key
vapid_email: !secret notify.gcm.vapid_email

- name: rohan_email
platform: mailgun
recipient: !secret notify.rohan_email.recipient
Expand Down Expand Up @@ -56,8 +50,12 @@ automation:
value_template: '{{ sensors | length > 0 }}'
then:
- service: notify.rohan_kapoor
data:
message: The battery of the sensor(s) {{sensors}} is low.
data_template:
message: |
The battery of the sensor(s) is low:
{% for sensor in sensors -%}
{{ sensor }}
{% endfor %}
exclude:
entity_id:
- sensor.office_remote_battery_level
Expand Down
4 changes: 0 additions & 4 deletions tests/travis_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ mqtt.client_id: homeassistant
mailgun.domain: 127.0.0.1
mailgun.api_key: I_AM_NOT_A_REAL_KEY

notify.gcm.vapid_prv_key: I_AM_NOT_A_PRIVATE_KEY
notify.gcm.vapid_pub_key: I_AM_NOT_A_PUBLIC_KEY
notify.gcm.vapid_email: [email protected]

notify.rohan_email.recipient: [email protected]
notify.rohan_email.sender: [email protected]

Expand Down

0 comments on commit 2f3eeb0

Please sign in to comment.