AdGuard: Pause for 5 minutes from Google Home/Bookmarklet

I’m a recent AdGuard convert (had been using pihole up until a couple weeks ago). Not sure I love one over the other. But trying out AdGuard as it has some nice configuration options (namely: force google safe search).

One feature I cannot find is with pihole I could make a bookmarklet which paused pihole’s ad blocking for 5 minutes. I cannot any such option with my quick search, but is it possible since it’s within hassio? Any examples to follow? Thanks!

(I’d love either a bookmarklet or a way to say “OK GOOGLE PAUSE ADBLOCK [FOR 5 MINUTES]”)

You could probably try something like this.

script:        
  pause_adguard:
    alias: Pause AdGuard Temporarily
    sequence:
    - service: switch.turn_off
      entity_id: switch.adguard_protection
    - delay:
        minutes: 5
    - service: switch.turn_on
      entity_id: switch.adguard_protection

You could also look into making the delay an input_number as well so you can change it on the fly in your frontend before calling the script. Hope this helps.

Awesome :slight_smile: that works perfectly. Now to make it a bookmarklet or google home command. Will update when I get there.