Removing unit of measurement from uptime sensor - 2020.12.0 breaking change

This commit is contained in:
Jeffrey Stone 2020-12-13 22:25:51 -05:00
parent c10b696657
commit 2957c7acb3
1 changed files with 3 additions and 1 deletions

View File

@ -74,9 +74,11 @@ sensor:
# - platform: command_line # - platform: command_line
# name: ha_log # name: ha_log
# command: "ls -sh /home/homeassistant/.homeassistant/home-assistant.log | cut -f1 -d ' '" # command: "ls -sh /home/homeassistant/.homeassistant/home-assistant.log | cut -f1 -d ' '"
# unit of measurement deprecated in 2020.12.0
- platform: uptime - platform: uptime
name: Time Online name: Time Online
unit_of_measurement: days #unit_of_measurement: days
- platform: command_line - platform: command_line
name: Lines of Code name: Lines of Code
command: "find /config -name '*.yaml' | xargs cat | wc -l" command: "find /config -name '*.yaml' | xargs cat | wc -l"