From b639a6812073e7c749bf0a1a43a071c39150c9fd Mon Sep 17 00:00:00 2001 From: ccostan Date: Sun, 21 Jun 2020 13:54:35 -0400 Subject: [PATCH] Adding in some units of measurement. #729 --- config/packages/twitter.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/packages/twitter.yaml b/config/packages/twitter.yaml index 6d1ad784..7e140291 100755 --- a/config/packages/twitter.yaml +++ b/config/packages/twitter.yaml @@ -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