From cb6c5c7d6dd2005220e4dcaa3f566450a56784aa Mon Sep 17 00:00:00 2001 From: ccostan Date: Sat, 6 Jun 2020 18:13:19 -0400 Subject: [PATCH] Lots of Spring Cleaning. --- .../{network.yaml => network.yaml.disabled} | 24 +------------------ .../{travis.yaml => travis.yaml.disabled} | 22 ++++------------- config/script/tweet.yaml | 2 +- 3 files changed, 7 insertions(+), 41 deletions(-) rename config/packages/{network.yaml => network.yaml.disabled} (90%) rename config/packages/{travis.yaml => travis.yaml.disabled} (63%) diff --git a/config/packages/network.yaml b/config/packages/network.yaml.disabled similarity index 90% rename from config/packages/network.yaml rename to config/packages/network.yaml.disabled index f38f6f99..c2aec336 100755 --- a/config/packages/network.yaml +++ b/config/packages/network.yaml.disabled @@ -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: diff --git a/config/packages/travis.yaml b/config/packages/travis.yaml.disabled similarity index 63% rename from config/packages/travis.yaml rename to config/packages/travis.yaml.disabled index 4a4eec9f..244afad0 100755 --- a/config/packages/travis.yaml +++ b/config/packages/travis.yaml.disabled @@ -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: diff --git a/config/script/tweet.yaml b/config/script/tweet.yaml index 3bc316ab..3d118764 100755 --- a/config/script/tweet.yaml +++ b/config/script/tweet.yaml @@ -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)",