Alerts not working for me at all

Been trying to get alerts for my garage working for a week, finally I decided to just make a toggle helper and make the most basic alert and that’s not working either

in configuration.yaml

alert: !include alert.yaml

in alert.yaml

alert_test:
  name: Alert Test
  entity_id: input_boolean.alert_test
  title: Alert Test
  message: This is an alert test
  done_message: Done This is an alert test
  state: on
  repeat:
    - 1
    - 2
    - 5
  can_acknowledge: true
  skip_first: false
  data:
    tag: alert-test
  notifiers:
    - mobile_app_codemonkey

The notifier is a mobile_app ios device. Sending notifications to it works via automations, so I know that’s not the problem

Also I get nothing in the logs

Put quotes around the state value.

state: 'on'

on is a boolean value. 'on' is a string. States are strings.

That did it thanks.

So used to not using quotes in yaml except in templates. Gotta break that habit

1 Like