More image updating.
This commit is contained in:
parent
eac2cffedb
commit
ad8273cded
|
@ -13,7 +13,7 @@
|
|||
- service: homeassistant.turn_on
|
||||
entity_id: switch.bedroom_restart_on
|
||||
|
||||
- service: script.tweet_engine
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >-
|
||||
{{ [
|
||||
|
|
|
@ -69,7 +69,7 @@ automation:
|
|||
true
|
||||
{%- endif -%}
|
||||
action:
|
||||
- service: script.tweet_engine
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
{{ [
|
||||
|
|
|
@ -75,7 +75,7 @@ automation:
|
|||
title: '{{ states.sensor.holiday.state }}'
|
||||
|
||||
- delay: '{{ (range(4, 8)|random|int) }}:{{ (range(1, 50)|random|int) }}:00'
|
||||
- service: script.tweet_engine
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
{{ [
|
||||
|
@ -89,3 +89,7 @@ automation:
|
|||
"(http://www.vmwareinfo.com/2017/08/diy-outdoor-smart-home-led-strips.html)",
|
||||
"#{{ states.sensor.holiday.state }}"
|
||||
] | random }}
|
||||
image: >-
|
||||
{{ [
|
||||
"/config/www/custom_ui/floorplan/images/branding/light4.png"
|
||||
] | random }}
|
||||
|
|
|
@ -71,7 +71,7 @@ automation:
|
|||
from: 'charging'
|
||||
action:
|
||||
- delay: '0{{ range(0,4) | random | int }}:00:00'
|
||||
- service: script.tweet_engine
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
{{ [
|
||||
|
@ -84,6 +84,5 @@ automation:
|
|||
"/config/www/custom_ui/floorplan/images/branding/car.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/bear_stone_car.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/batteries.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/charge.png",
|
||||
|
||||
"/config/www/custom_ui/floorplan/images/branding/charge.png"
|
||||
] | random }}
|
||||
|
|
|
@ -73,6 +73,7 @@ group:
|
|||
network:
|
||||
entities:
|
||||
- sensor.ha_installed_version
|
||||
- sensor.ccostanhomeassistantconfig_state
|
||||
- sensor.ha_uptime
|
||||
- sensor.since_last_boot_templated
|
||||
- sensor.disk_use_percent_
|
||||
|
|
|
@ -14,13 +14,10 @@ sensor:
|
|||
- platform: travisci
|
||||
api_key: !secret travis_api
|
||||
scan_interval: 2400
|
||||
monitored_conditions:
|
||||
- state
|
||||
#-------------------------------------------
|
||||
# group:
|
||||
# finance:
|
||||
# entities:
|
||||
# - sensor.tesla
|
||||
# - sensor.bitcoin
|
||||
|
||||
# Group added to network package.
|
||||
##############################################################################
|
||||
### Automations - Detect when things are not right. Like any Good Watchdog.
|
||||
##############################################################################
|
||||
|
|
|
@ -107,31 +107,6 @@ automation:
|
|||
media_content_id: "https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/twitter-chirp.mp3"
|
||||
media_content_type: audio/mp4
|
||||
|
||||
# - service: script.tweet_engine
|
||||
# data_template:
|
||||
# tweet: >-
|
||||
# {% set handle = trigger.event.data.value1 %}
|
||||
# {% set location = trigger.event.data.location %}
|
||||
# {% set phrases = [
|
||||
# "Thanks for the Follow " ~ handle ~ "! Chirp the Bird from " ~ location ~ "!!",
|
||||
# "Hey " ~ handle ~ "! Thanks for the Follow from " ~ location ~ " !",
|
||||
# "Sending a #Chirp to " ~ handle ~ " in " ~ location ~ "!",
|
||||
# "New follower " ~ handle ~ " from " ~ location ~ ", I just sounded a chirp in the house.",
|
||||
# "Boom! The " ~ location ~ " follow from " ~ handle ~ " makes me sound a chirp in the house.",
|
||||
# "Wanna know who is super cool? "~ handle ~" IS!!! Thanks for making me CHIRP!",
|
||||
# "If the AMP (http://amzn.to/2j18dlT) is on & I get a new follower like " ~ handle ~ ", I sound a chirp!"
|
||||
# ] %}
|
||||
# {% set hashtags = [
|
||||
# "#ThanksForTheFollow",
|
||||
# "#FollowBack",
|
||||
# "#ChirpTheHouse",
|
||||
# "#FollowMe",
|
||||
# "#MakingitChirp",
|
||||
# "(http://www.vmwareinfo.com/2017/12/giving-house-twitter-account.html)",
|
||||
# "(http://www.vmwareinfo.com/2017/11/building-digital-cuckoo-clock-with-home.html)"
|
||||
# ] %}
|
||||
# {{ phrases|random ~ " " ~ hashtags|random }}
|
||||
|
||||
- alias: 'Closed Github Issue'
|
||||
hide_entity: True
|
||||
trigger:
|
||||
|
@ -184,7 +159,7 @@ automation:
|
|||
{% set pick = [
|
||||
"minecraft",
|
||||
"solar", "solar",
|
||||
"robot", "robot","robot","robot","robot","robot","robot","robot",
|
||||
"robot", "robot", "robot", "robot", "robot", "robot", "robot", "robot", "robot",
|
||||
"door", "door", "door",
|
||||
"weather", "weather", "weather", "weather", "weather", "weather",
|
||||
"internet", "internet", "internet", "internet", "internet",
|
||||
|
|
|
@ -28,8 +28,9 @@ tweet_engine_setup:
|
|||
"The #Docker Host has been running for {{ states('sensor.since_last_boot_templated') }} (http://www.vmwareinfo.com/2018/02/journey-to-docker.html)",
|
||||
"The #Docker Host for Home Assistant is using {{ states('sensor.disk_use_percent_') }}% of the hard drive currently. (http://www.vmwareinfo.com/2018/02/journey-to-docker.html)",
|
||||
"My Home Assistant Database is currently using {{ states('sensor.database_sensor') }} MBs. To get this #Stat for your HA, visit (https://github.com/robmarkcole/HASS-filesize-sensor)",
|
||||
"I am running Home Assistant version {{ states('sensor.ha_installed_version') }} (https://github.com/CCOSTAN/Home-AssistantConfig)",
|
||||
"Home Assistant has been running for {{ states('sensor.ha_uptime') }}. (https://github.com/CCOSTAN/Home-AssistantConfig)"
|
||||
"I am running Home Assistant version {{ states('sensor.ha_installed_version') }} (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
|
||||
"Home Assistant has been running for {{ states('sensor.ha_uptime') }}. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
|
||||
"My Home Assistant has been tested by Travis-CI and {{states('sensor.ccostanhomeassistantconfig_state')}}. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)"
|
||||
],
|
||||
|
||||
"door": [
|
||||
|
@ -87,7 +88,7 @@ tweet_engine_setup:
|
|||
"/config/www/custom_ui/floorplan/images/branding/batteries.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/car.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/bear_stone_car.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/charge.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/charge.png",
|
||||
],
|
||||
|
||||
"robot": [
|
||||
|
|
Loading…
Reference in New Issue