Removing unit of measurement from uptime sensor - 2020.12.0 breaking change
This commit is contained in:
parent
c10b696657
commit
2957c7acb3
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue