Files
home-assistant-core/homeassistant/components/pi_hole/services.yaml
T
John Luetke 245e51df7a Add Pi-hole enable and disable services (#27055)
* Add service to disable pihole

* Add service to enable pihole

* Redefine optional string validator

* code review changes

* Change service parameter to timedelta

* code review changes
2019-09-29 20:35:56 -04:00

8 lines
213 B
YAML

disable:
description: Disable Pi-hole for an amount of time
fields:
duration:
description: Time that the Pi-hole should be disabled for
example: "00:00:15"
enable:
description: Enable Pi-hole