I grew tired of my service provider changing my static public ip with short notification.
Therefore I wrote this little automation as a safeguard.

Automation:

- alias: Notify when external ip changes
  initial_state: on 
  trigger:
    platform: state 
    entity_id: sensor.dnsip
  action:
  - service: rest_command.rhasspy_speak
    data_template:
      payload_data: "Alert change of IP address, new external IP address is {{ states('sensor.dnsip') }}"
  - service_template: notify.pushover
    data_template:
      title: "Alert change of IP address!"
      message: "Alert change of IP address, new external IP address is {{ states('sensor.dnsip') }}"
      data:
        priority: 1
        sound: "siren"