python-adguardhome
python-adguardhome copied to clipboard
Allow to `disable_protection` for a specific duration
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