Move Pi-Hole API key instructions (#16811)

This commit is contained in:
Franck Nijhof 2021-03-02 21:05:25 +01:00 committed by GitHub
parent 5e7cf34487
commit 3800337c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,16 +19,19 @@ ha_platforms:
- switch
---
The `pi_hole` integration allows you to retrieve statistics and interact with a [Pi-hole](https://pi-hole.net/) system.
The Pi-hole integration allows you to retrieve statistics and interact with a
[Pi-hole](https://pi-hole.net/) system.
{% include integrations/config_flow.md %}
Please note, that during the integration set up, an API key can be provided.
Providing one, gives access to the Pi-Hole `disable` service and a switch
to enable/disable Pi-Hole from Home Assistant.
## Services
The platform provides the following services to interact with your Pi-hole. Use switch entities when calling the services.
_Note: Switch entity requires `api_key` to be configured._
### Service `pi_hole.disable`
Disables configured Pi-hole(s) for the specified amount of time.