diff --git a/packages/system/lines.yaml b/packages/system/lines.yaml new file mode 100644 index 00000000..965923b4 --- /dev/null +++ b/packages/system/lines.yaml @@ -0,0 +1,6 @@ +sensor: + - platform: command_line + name: yaml config lines + command: "find /config -name '*.yaml' ! -name '*secrets.yaml' ! -name '.ip_authenticated.yaml' ! -path '/config/esphome/*' | xargs cat | wc -l" + unit_of_measurement: 'Lines' + scan_interval: 14400 \ No newline at end of file