python-adguardhome icon indicating copy to clipboard operation
python-adguardhome copied to clipboard

Allow to `disable_protection` for a specific duration

Open rbeuque74 opened this issue 1 year ago • 4 comments

Problem/Motivation

Since AGH v0.107.28, AGH allow to disable protection for a specific duration (see https://github.com/AdguardTeam/AdGuardHome/issues/1333). This option is not present in disable_protection, hence, cannot be used in Home Assistant, using a service.

Expected behavior

Having an optional pause_duration_miliseconds parameter.

Proposed changes

  • switch URL to POST /protection
  • add an optional parameter to disable_protection

rbeuque74 avatar May 03 '24 14:05 rbeuque74