From cc2735d032a6e4adfa7d64fa3f31c205b913ca55 Mon Sep 17 00:00:00 2001 From: Ross Cullen <35301905+rosscullen@users.noreply.github.com> Date: Sat, 29 Jun 2019 08:35:05 +0100 Subject: [PATCH] Additional YAML Example (#9720) * Additional YAML Example Original config was hard to follow for "monitored_conditions:" so added example configuration.yaml * Add header --- source/_components/pi_hole.markdown | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source/_components/pi_hole.markdown b/source/_components/pi_hole.markdown index c8c9d5bd1d0..82d8aa32231 100644 --- a/source/_components/pi_hole.markdown +++ b/source/_components/pi_hole.markdown @@ -75,4 +75,22 @@ monitored_conditions: description: Total number of seen clients. {% endconfiguration %} +### {% linkable_title Full example %} + +```yaml +# Example configuration.yaml entry +sensor: + - platform: pi_hole + host: IP_ADDRESS + monitored_conditions: + - ads_blocked_today + - ads_percentage_today + - dns_queries_today + - domains_being_blocked + - queries_cached + - queries_forwarded + - unique_clients + - unique_domains +``` + This sensor platform was not made by Pi-hole LLC or the Pi-hole community. They did not provide support, feedback, testing, or any other help during its creation. This is a third party platform which may break if Pi-hole changes their API in a later release. It is not official, not developed, not supported, and not endorsed Pi-hole LLC or the Pi-hole community. The trademark `Pi-hole` and the logo is used here to describe the platform. `Pi-hole` is a registered trademark of Pi-hole LLC.