Stole a lines of code sensor from @CCONSTAN ...he wont mind

This commit is contained in:
Jeffrey Stone 2020-06-07 19:36:30 -04:00
parent 12df7b54f1
commit d0cc31681e
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ sensor:
- platform: uptime
name: Time Online
unit_of_measurement: days
- platform: command_line
name: Lines of Code
command: "find /config -name '*.yaml' | xargs cat | wc -l"
scan_interval: 20000
- platform: template
sensors:
open_pull_requests: