Speedtest - service to restart

In my environment the speedtest integration rather often stops working and I have to reload it manually.

Is there any service to reload this integration? I would like to use it in a script / lovelace dashboard.

BTW: It would be nice to have that also for Luftdaten, UV-Data integration :slight_smile:

I am using this automation script to keep my speedtest service alive. It looks to be working OK with the 5 minutes delay.

- id: "speedtest restart"
  alias: "speedtest restart"
  trigger:
    - platform: state
      entity_id: sensor.speedtest_download
      to: "unavailable"        
  action:
    - delay: "00:05:00"
    - service: speedtestdotnet.speedtest
1 Like

Thanks. I am testing it.

update 2021-07-14: it works!