mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 10:57:03 +00:00
#12 - Added some Voice notifcations for PiHole ; Added to README; added in sensors.
This commit is contained in:
@@ -140,6 +140,14 @@ voice_notify:
|
||||
{% endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{% macro pihole() %}
|
||||
{% if states.sensor.pihole_ads_blocked_today.state|int > 200 -%}
|
||||
Our internet blocking system has blocked {{states.sensor.pihole_ads_blocked_today.state}} ads today!
|
||||
happy Internet surfing!
|
||||
{% endif -%}
|
||||
|
||||
{%- endmacro -%}
|
||||
|
||||
{{ personarriving }}
|
||||
|
||||
{{ NestStatus}}
|
||||
@@ -168,6 +176,7 @@ voice_notify:
|
||||
|
||||
{{ value1 }}
|
||||
{{iss()}}
|
||||
{{pihole()}}
|
||||
</speak>
|
||||
cache: true
|
||||
|
||||
|
Reference in New Issue
Block a user