|
|
|
@ -44,20 +44,6 @@ switch:
|
|
|
|
# command_state: "curl -X GET 'http://192.168.10.11/admin/api.php?status'| grep enabled"
|
|
|
|
# command_state: "curl -X GET 'http://192.168.10.11/admin/api.php?status'| grep enabled"
|
|
|
|
# value_template: "{{ value_json.status == 'enabled' }}
|
|
|
|
# value_template: "{{ value_json.status == 'enabled' }}
|
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------
|
|
|
|
|
|
|
|
group:
|
|
|
|
|
|
|
|
pihole:
|
|
|
|
|
|
|
|
entities:
|
|
|
|
|
|
|
|
- sensor.carlopihole
|
|
|
|
|
|
|
|
- sensor.pi_hole_version
|
|
|
|
|
|
|
|
- sensor.pi_hole_dns_unique_clients
|
|
|
|
|
|
|
|
- sensor.pi_hole_dns_queries_today
|
|
|
|
|
|
|
|
- sensor.pi_hole_ads_blocked_today
|
|
|
|
|
|
|
|
- sensor.pi_hole_ads_percentage_today
|
|
|
|
|
|
|
|
- sensor.pi_hole_ads_percentage_blocked_today
|
|
|
|
|
|
|
|
- switch.pihole_temp_disable
|
|
|
|
|
|
|
|
#-------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
automation:
|
|
|
|
automation:
|
|
|
|
- alias: PiHole Daily stats Tweet!
|
|
|
|
- alias: PiHole Daily stats Tweet!
|
|
|
|
id: c25b033e-c6df-445f-86fa-878b447c765a
|
|
|
|
id: c25b033e-c6df-445f-86fa-878b447c765a
|
|
|
|
|