From 3d31ed7e9a4d8523828b9b510a52fb6e14df8366 Mon Sep 17 00:00:00 2001 From: ccostan Date: Sun, 23 Dec 2018 15:44:46 -0500 Subject: [PATCH] Fixed the Breaking Change for SYstemMonitor. --- README.md | 4 ++-- config/.HA_VERSION | 2 +- config/configuration.yaml | 8 ++++---- config/customize/sensors.yaml | 4 ++-- config/packages/network.yaml | 2 +- config/packages/processmonitor.yaml | 2 +- config/recorder.yaml | 4 ++-- config/script/tweet.yaml | 2 +- config/sensor/systemmonitor.yaml | 4 ++-- .../floorplan/images/branding/locked_out.png | Bin 0 -> 6248841 bytes .../images/branding/solar_readings.png | Bin 114215 -> 101132 bytes 11 files changed, 16 insertions(+), 16 deletions(-) create mode 100755 config/www/custom_ui/floorplan/images/branding/locked_out.png diff --git a/README.md b/README.md index b363ddbc..c51c67e0 100755 --- a/README.md +++ b/README.md @@ -652,7 +652,7 @@ Dog Bark script - /config/automation/guard_dog.yaml
[GE ZWave Outdoor Power Module](http://amzn.to/2q17R4S) -[Phyn Smart Water Main ShutOff/Leak Detector](http://www.phyn.com/) +[Phyn Smart Water Main ShutOff/Leak Detector](http://phyn.refr.cc/carlocostanzo) [Outdoor LED Lighting](http://www.vCloudInfo.com/2017/08/diy-outdoor-smart-home-led-strips.html) @@ -660,7 +660,7 @@ Dog Bark script - /config/automation/guard_dog.yaml
- + diff --git a/config/.HA_VERSION b/config/.HA_VERSION index d6a1f663..d2804edc 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -0.84.1 \ No newline at end of file +0.84.3 \ No newline at end of file diff --git a/config/configuration.yaml b/config/configuration.yaml index 5107c656..c9198294 100755 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -159,8 +159,8 @@ logbook: - group.garage_doors - media_player.LivingRoomCC - py.warnings - - sensor.since_last_boot - - sensor.since_last_boot_templated + - sensor.last_boot + - sensor.last_boot_templated - sensor.small_garage_status - sensor.large_garage_status - sensor.small_garage_time_in_state @@ -195,8 +195,8 @@ history: - sensor.pihole_ads_blocked_today - sensor.pihole_ads_percentage_blocked_today - sensor.pihole_dns_queries_today - - sensor.since_last_boot - - sensor.since_last_boot_templated + - sensor.last_boot + - sensor.last_boot_templated - sensor.floorplan_date - sensor.floorplan_time - sensor.ha_uptime diff --git a/config/customize/sensors.yaml b/config/customize/sensors.yaml index 9a593bf8..7edad523 100755 --- a/config/customize/sensors.yaml +++ b/config/customize/sensors.yaml @@ -544,7 +544,7 @@ sensor.samsungtv: -sensor.since_last_boot: +sensor.last_boot: friendly_name: 'Since Last Boot' hidden: True @@ -553,7 +553,7 @@ sensor.since_last_boot: -sensor.since_last_boot_templated: +sensor.last_boot_templated: friendly_name: 'Raspberry Pi Uptime' hidden: False diff --git a/config/packages/network.yaml b/config/packages/network.yaml index 6fd23ba6..4a7134bb 100755 --- a/config/packages/network.yaml +++ b/config/packages/network.yaml @@ -74,7 +74,7 @@ group: - sensor.github_stats - sensor.ccostanhomeassistantconfig_state - sensor.ha_uptime - - sensor.since_last_boot_templated + - sensor.last_boot_templated - sensor.disk_use_percent_ - sensor.homeassistant_v2db - sensor.speedtest_download diff --git a/config/packages/processmonitor.yaml b/config/packages/processmonitor.yaml index 53bbe81f..ef6dd027 100755 --- a/config/packages/processmonitor.yaml +++ b/config/packages/processmonitor.yaml @@ -14,7 +14,7 @@ sensor: - platform: systemmonitor resources: # - type: last_boot - - type: since_last_boot + - type: last_boot - type: disk_use_percent arg: / diff --git a/config/recorder.yaml b/config/recorder.yaml index 8c4f2451..14df3361 100755 --- a/config/recorder.yaml +++ b/config/recorder.yaml @@ -37,8 +37,8 @@ exclude: - sensor.pihole_ads_blocked_today - sensor.pihole_ads_percentage_blocked_today - sensor.pihole_dns_queries_today - - sensor.since_last_boot - - sensor.since_last_boot_templated + - sensor.last_boot + - sensor.last_boot_templated - sensor.skybell_stone_door_chime_level - sensor.small_garage_reflection_rate - sensor.small_garage_time_in_state diff --git a/config/script/tweet.yaml b/config/script/tweet.yaml index c4c44e8f..6d75518d 100755 --- a/config/script/tweet.yaml +++ b/config/script/tweet.yaml @@ -45,7 +45,7 @@ tweet_engine_setup: "Beep. Bop. Beep. Boop. I am a #roBOT run by @CCostan", "I have spoken for about {{ states.sensor.speech_time.attributes.value|replace('m', '') }} minutes in the last 24 hours.", "When you add it all up, I have spoken for about {{ states.sensor.speech_time.attributes.value|replace('m', '') }} minutes in the last 24 hours!", - "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 has been running for {{ states('sensor.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)", "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)", diff --git a/config/sensor/systemmonitor.yaml b/config/sensor/systemmonitor.yaml index 3015359f..94c3bbd9 100755 --- a/config/sensor/systemmonitor.yaml +++ b/config/sensor/systemmonitor.yaml @@ -1,8 +1,8 @@ - platform: template sensors: - since_last_boot_templated: + last_boot_templated: value_template: >- - {%- set slb = states.sensor.since_last_boot.state.split(' ') -%} + {%- set slb = states.sensor.last_boot.state.split(' ') -%} {%- set count = slb | length -%} {%- set hms = slb[count - 1] -%} {%- set hms_trimmed = hms.split('.')[0] -%} diff --git a/config/www/custom_ui/floorplan/images/branding/locked_out.png b/config/www/custom_ui/floorplan/images/branding/locked_out.png new file mode 100755 index 0000000000000000000000000000000000000000..ae2e4f848bdaf578145a146a262133366cadf730 GIT binary patch literal 6248841 zcmV(_K-9m9P)Atkd(X}>Ne@YJL>VS2!Llt#mSISgA;^Y) zc!Mp_5@~}YnBaM*it1>J1HTFH??$?MA-~IuyB|=k?U62>z_$Zp*$isL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