I created this alert and it does not work. I think it’s something to do with my notify. I am using pushover
I think you’ll find something to test the alert in this topic.
and for testing your notify platform
EDIT: And please post your code as text, proper formatted, not as a photo wallpaper
Read here, point number 11
I have automations set up to notify me so i know the notify is working. i like that you have a alerts.yaml. i will create one tonight. what do i need to put in configuration.yaml so it looks for the alerts.yaml?
thanks for your help
notify:
- name: Hass WestCopper
platform: pushover
api_key:
user_key:
alert:
backdoor:
name: Back Door Is Open Alert
done_message: Back Door Is Closed
entity_id: binary_sensor.back_door
state: ‘on’
repeat: 10
can_acknowledge: true
skip_first: false
notifiers:
- notify.hass_westcopper
here is a working notification in an automation
- id: ‘1557160659893’
alias: Back Door Closed
trigger:- entity_id: binary_sensor.back_door
for: ‘0’
from: ‘on’
platform: state
to: ‘off’
condition: - after: ‘8:00’
before: ‘20:00’
condition: time
action: - data:
message: Back Door Closed
service: notify.hass_westcopper
- entity_id: binary_sensor.back_door
Thanks for the help. I got it working. Now I want to create an alerts file to load all the alerts I will be making. Do I have to put anything in the configuration yaml to use and alerts file ?
What was the issue?