From 2957c7acb3f971d3147551c7c1071ba02630169f Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Sun, 13 Dec 2020 22:25:51 -0500 Subject: [PATCH] Removing unit of measurement from uptime sensor - 2020.12.0 breaking change --- config/packages/sysmon.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/packages/sysmon.yaml b/config/packages/sysmon.yaml index f3305d3..30f5ec7 100755 --- a/config/packages/sysmon.yaml +++ b/config/packages/sysmon.yaml @@ -74,9 +74,11 @@ sensor: # - platform: command_line # name: ha_log # command: "ls -sh /home/homeassistant/.homeassistant/home-assistant.log | cut -f1 -d ' '" + + # unit of measurement deprecated in 2020.12.0 - platform: uptime name: Time Online - unit_of_measurement: days + #unit_of_measurement: days - platform: command_line name: Lines of Code command: "find /config -name '*.yaml' | xargs cat | wc -l"