#12 - Added some Voice notifcations for PiHole ; Added to README; added in sensors.

This commit is contained in:
CCOSTAN
2017-04-26 02:05:04 +00:00
parent 1aacdca4d5
commit 0df27000e0
3 changed files with 36 additions and 4 deletions

View File

@@ -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