Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (16 sloc) 582 Bytes
---
alias: PiHole Daily Client stats!
trigger:
platform: time
at: '23:00:00'
action:
- delay: '00:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
- service: script.notify_engine
data_template:
channel: "tweets"
value1: >
{{ [
"There are currently {{states.sensor.unifi_client_count.state}} clients on my network.",
"As reported by #PiHole, there are {{states.sensor.unifi_client_count.state}} clients on my network.",
] | random + " (https://amzn.to/2SKJ957)" }}
hashtag: '#PiHole #Security'
You can’t perform that action at this time.