lots of GROOOOOOVY Updates.. too many to really list. Maintenance Update

This commit is contained in:
CCOSTAN
2017-04-15 20:00:11 +00:00
parent 250a57cf67
commit 88bd0edc09
10 changed files with 23 additions and 15 deletions

View File

@@ -5,13 +5,13 @@
- platform: command_line
name: HA Installed Version
command: >-
cat $HASS_CONFIG/.HA_VERSION
cat /home/hass/.homeassistant/.HA_VERSION
scan_interval: 86400
- platform: command_line
name: "HA Uptime"
command: echo "$(($(date +%s) - $(date -d "$(head -n1 /home/hass/.homeassistant/home-assistant.log | cut -d' ' -f-2)" +%s)))"
scan_interval: 360
scan_interval: 720
value_template: >-
{% set uptime = value | int %}
{% set seconds = uptime % 60 %}