Lots of Spring Cleaning.

This commit is contained in:
ccostan 2020-06-06 18:13:19 -04:00
parent b7155447c9
commit cb6c5c7d6d
3 changed files with 7 additions and 41 deletions

View File

@ -69,28 +69,6 @@ sensor:
{%- endfor -%}
{%- endfor -%}
group:
network:
entities:
- sensor.ha_installed_version
- sensor.github_stats
- sensor.ccostanhomeassistantconfig_state
- sensor.ha_uptime
- sensor.last_boot_templated
- sensor.disk_use_percent
- sensor.homeassistant_v2db
- sensor.speedtest_download
- sensor.speedtest_upload
- binary_sensor.carlowink
- sensor.network
- sensor.network_detail
# Create full group with Loop!:
# {% for state in states.device_tracker-%}
# - {{ state.entity_id | lower }}
# {{ ' '}}
# {%- endfor -%}.
network_detail:
entities:
- device_tracker.alexa_echo
@ -151,7 +129,7 @@ group:
#-------------------------------------------------------------------------------------
automation:
- alias: 'Device Status'
trigger:
- platform: state
entity_id:

View File

@ -1,14 +1,9 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Read more about the house at https://vCloudInfo.com
#-------------------------------------------
# homeassistant:
# customize_glob:
# "*.*_sleep_hours":
# unit_of_measurement: hours
# icon: mdi:sleep
#
#
#-------------------------------------------
sensor:
- platform: travisci
@ -17,16 +12,13 @@ sensor:
monitored_conditions:
- state
#-------------------------------------------
# Group added to network package.
##############################################################################
### Automations - Detect when things are not right. Like any Good Watchdog.
##############################################################################
#automation:
#Tweets pushed out to twitter.
automation:
- alias: "Travis FAILURE Notification"
trigger:
- platform: state
entity_id:
@ -37,11 +29,7 @@ automation:
data_template:
value1: 'Travis validation testing failed.'
who: 'carlo'
- service: notify.html5
data_template:
title: "Travis-CI FAILURE"
message: "Travis validation testing failed."
apns: 'travisci'
- service: persistent_notification.create
data:

View File

@ -58,7 +58,7 @@ tweet_engine_setup:
"{{ states.sensor.lines_of_code.state }} lines of Home Assistant configuration code has been running for {{ states('sensor.ha_uptime') }}. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
"The Github code (https://github.com/CCOSTAN/Home-AssistantConfig#logo) has {{ states.sensor.github_stats.attributes.stargazers_count}} stars and counting. Currently with {{ states.sensor.github_stats.attributes.open_issues }} open #Todo items.",
"Bear Stone Smart home currently runs on {{ states.sensor.lines_of_code.state }} lines of YAML code. Check it all out at (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)",
"My Home Assistant has {{ states.sensor.lines_of_code.state }} lines of YAML code tested by Travis-CI. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
"{{((states.sensor.sensor_count.state | int) + (states.sensor.binary_sensor_count.state | int))}} sensors feed my Smart Home #data. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
"{{states.sensor.automation_count.state}} automations and {{states.sensor.script_count.state}} scripts make my home smart (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
"Nevermind me. I am just keeping track of {{states.sensor.lights_count.state}} lights and {{states.sensor.tracker_count.state}} devices in the house. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",