Hi,
I am trying to setup an alert integration and a custom mqtt notify service.
I have the alert working and it’s triggering as it should.
Also I have the mqtt notify working and tested it in an automation.
Problem is when trying to combine to use this notify in my alerts.
this is my mqtt notify integration
- unique_id: panel_say_notification
name: "Panel Say Notification"
command_topic: "alarmpanel/command"
command_template: >
{ "speak": "{{ value }}" }
qos: 0
retain: false
This is my alert I am testing with.
room1_door_open:
name: Room 1 Door Open
entity_id: binary_sensor.room1_door_sensor_door_state
state: "on"
repeat:
- 1
- 45
- 60
can_acknowledge: true
skip_first: false
title: Room 1 door notification
message: >-
Room 1 door has been open for {{((((as_timestamp(now())) -
(as_timestamp(states.binary_sensor.room1_door_sensor_door_state.last_changed)))
/ 60 )) | int }} minutes
notifiers:
- persistent_notification
- panel_say_notification
the persistant_notification works but get an error about panel_say_notification
in the log “homeassistant.components.alert] Failed to call notify.panel_say_notification, retrying at next notification interval”
turning on debug does not log anymore than this.