Adding in some units of measurement. #729

pull/792/head
ccostan 6 years ago
parent 4166b5229f
commit b639a68120

@ -23,6 +23,7 @@ sensor:
- platform: command_line
command: 'curl https://api.github.com/repos/ccostan/home-assistantconfig'
name: GitHub Stats
unit_of_measurement: 'Count'
scan_interval: 20000
value_template: '{{ value_json.name }}'
json_attributes:
@ -34,6 +35,7 @@ sensor:
- platform: command_line
name: Lines of Code
command: "find /config -name '*.yaml' | xargs cat | wc -l"
unit_of_measurement: 'Lines'
scan_interval: 20000
- platform: history_stats

Loading…
Cancel
Save

Powered by TurnKey Linux.