mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
Closes #339 - Added a Crap ton of imaging into the twitter feed.
This commit is contained in:
@@ -40,7 +40,7 @@ I love packages. This will probably become the most used directory in my repo.
|
||||
</a>
|
||||
</h4>
|
||||
|
||||
<a name="bottom" href="https://github.com/CCOSTAN/Home-AssistantConfig#logo"><img align="right" border="0" src="https://scontent-mxp1-1.xx.fbcdn.net/v/t34.0-12/28511153_10155579658673155_2146314492_n.png?_nc_ad=z-m&_nc_cid=0&oh=0d6dd551695860471c45d5b7b17c3cd8&oe=5A99DB47" width="25" ></a>
|
||||
<a name="bottom" href="https://github.com/CCOSTAN/Home-AssistantConfig#logo"><img align="right" border="0" src="https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/branding/up_arrow.png" width="25" ></a>
|
||||
|
||||
**Still have questions on my Config?**
|
||||
**Message me on twitter :** [@CCostan](https://twitter.com/ccostan) or [@BearStoneHA](https://twitter.com/BearStoneHA)
|
||||
|
@@ -101,13 +101,20 @@ automation:
|
||||
at: '23:50:00'
|
||||
action:
|
||||
- delay: '00:{{ (range(1, 9)|random|int) }}:00'
|
||||
- service: script.tweet_engine
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
{{ [
|
||||
"I blocked {{states.sensor.pihole_ads_blocked_today.state}} ads. That is {{states.sensor.pihole_ads_percentage_blocked_today.state}}% of my internet traffic.",
|
||||
"Today was a good day! Why, you ask? Because I blocked {{states.sensor.pihole_ads_blocked_today.state}} ads via Pi-Hole!",
|
||||
] | random + " #PiHole #Security Status:({{states.sensor.carlopihole.state}})"}}
|
||||
image: >-
|
||||
{{ [
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers2.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers3.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers4.png"
|
||||
] | random }}
|
||||
|
||||
- alias: PiHole Daily Client Tweet!
|
||||
trigger:
|
||||
@@ -115,10 +122,17 @@ automation:
|
||||
at: '04:30:00'
|
||||
action:
|
||||
- delay: '{{ (range(1, 6)|random|int) }}:{{ (range(1, 50)|random|int) }}:00'
|
||||
- service: script.tweet_engine
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
{{ [
|
||||
"There are currently {{states.sensor.pihole_dns_unique_clients.state}} clients on my network.",
|
||||
"As reported by #Ubiquity Routers, There are {{states.sensor.pihole_dns_unique_clients.state}} clients on my network.",
|
||||
] | random + "#Security http://amzn.to/2D2AfXS"}}
|
||||
] | random + "#Security https://github.com/CCOSTAN/Home-AssistantConfig#networking"}}
|
||||
image: >-
|
||||
{{ [
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers2.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers3.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/servers4.png"
|
||||
] | random }}
|
||||
|
@@ -79,7 +79,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.skybell_pressed
|
||||
- service: script.tweet_engine
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
{{ [
|
||||
@@ -90,10 +90,14 @@ automation:
|
||||
"Someone answer my door. Someone just pressed the doorbell."
|
||||
] | random + [
|
||||
" #Security",
|
||||
" (http://amzn.to/2dcexIB)",
|
||||
" (https://github.com/CCOSTAN/Home-AssistantConfig#cameras)",
|
||||
" (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)",
|
||||
" #HomeAutomation"
|
||||
] | random }}
|
||||
image: >-
|
||||
{{ [
|
||||
"/config/www/custom_ui/floorplan/images/branding/sleeping.png"
|
||||
] | random }}
|
||||
|
||||
# Motion Sensing
|
||||
- alias: 'Log SkyBell Motion detection'
|
||||
|
Reference in New Issue
Block a user