Change hostname smtp but service notify lost

Hello everyone, I have tried in different ways to change only the name of the smtp server for notifications, but as soon as I change it the service does not appear on the automations. If I put the name of the old server back, everything reappears as before!
??

notify:
  - name: "NOTIFIER_EMAIL"
    platform: smtp
    sender: "[email protected]"
    recipient: "[email protected]"
    server: "myserver.internal2.lan"
    port: "587"

Just to be sure: after changing the smtp server, did you go through “Developer tools → YAML configuration reloading → SMTP NOTIFY SERVICES”?

2 Likes

Of course you do! I did the reloads, the soft reboot and also the reboot.