Can't get the SMTP integration to work - service not known

I want to be able to use e-mail to end notification. The SMTP integration seemed like the obvious choice. I am using my own e-mail server. I configured it as per the integration’s documentation:

notify:
  - name: homeemail
    platform: smtp
    sender: "[email protected]"
    recipient: "[email protected]"
    server: "mail.mydomain.com"
    port: 587
    timeout: 10
    sender_name: "Home Assistant"
    encryption: tls
    username: "sender"
    password: "senderpassword"

HA accepts this configuration quite happily. I have restarted HA (several times) but it does not recognise the service if I try to use it in a trigger action:

- id: '1684580577820'
  alias: Notify Test
  description: ''
  trigger:
  - platform: state
    entity_id:
    - sensor.powerwall_current_soc
  condition: []
  action:
  - service: notify.homeemail
    data:
      message: 'SoC changed'
      title: 'My Title'
  mode: single

HA just complains that ‘notify.homeemail’ is not a known service. Any ideas why? Hope can I get this working?

1 Like

Wouldn’t HA have logged something, by any chance?

Nothing in the regular LogBook. is there any kind of debug log?

I have the same issue, I’ve been meaning to start a topic on this myself. I hope you find an answer.