mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-26 02:37:03 +00:00
Move Pi-Hole API key instructions (#16811)
This commit is contained in:
parent
5e7cf34487
commit
3800337c6a
@ -19,16 +19,19 @@ ha_platforms:
|
|||||||
- switch
|
- 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 %}
|
{% 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
|
## Services
|
||||||
|
|
||||||
The platform provides the following services to interact with your Pi-hole. Use switch entities when calling the 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`
|
### Service `pi_hole.disable`
|
||||||
|
|
||||||
Disables configured Pi-hole(s) for the specified amount of time.
|
Disables configured Pi-hole(s) for the specified amount of time.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user