Skip to content

Commit

Permalink
Move Pi-Hole API key instructions (home-assistant#16811)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Mar 2, 2021
1 parent 5e7cf34 commit 3800337
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/_integrations/pi_hole.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3800337

Please sign in to comment.