mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Additional YAML Example (#9720)
* Additional YAML Example Original config was hard to follow for "monitored_conditions:" so added example configuration.yaml * Add header
This commit is contained in:
parent
83bf4a8028
commit
cc2735d032
@ -75,4 +75,22 @@ monitored_conditions:
|
|||||||
description: Total number of seen clients.
|
description: Total number of seen clients.
|
||||||
{% endconfiguration %}
|
{% 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.
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user