AdguardTeam / AdguardTeam/AdGuardHome

Block Individual Services from Single REST Command

Ouverte
#5,614 0 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
TypeScript
Étoiles
36.9k
Forks
2.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to request a feature or enhancement and not ask a question

### Description

#### What problem are you trying to solve?
I'm trying to expose more of the functionality of blocking of services to HomeAssistant. In order to do that it would be useful to be able to send enable/disable commands for an individual service instead of having to get the active list, then add/remove the one I'm trying to do and then send the list back.

#### Proposed solution

Currently there are commands to get the list of services, the list enabled, and set the list enabled. There does not exist a command to interact on a singular basis.

Proposing commands list

/blocked_services/enable [ list of services to enable ]
/blocked_services/disable [ list of services to disable ]

#### Alternatives considered

#### Additional information

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.