Create template sensors to provide a summary of how many entities, automation and lines of code is within my Home Assistant instance. This will be fun to track in Grafana and review when starting/finishing projects.
{{ states | length }}
{{ states.automation | list | count }}
While {{ find /volume1/docker/home-assistant-config/ -name '*.yaml' | xargs cat | wc -l }} works in the command line, it needs to be adjusted to work within the Home Assistant Core Docker container.
Create template sensors to provide a summary of how many entities, automation and lines of code is within my Home Assistant instance. This will be fun to track in Grafana and review when starting/finishing projects.
Consider a social media sharing function.
While
{{ find /volume1/docker/home-assistant-config/ -name '*.yaml' | xargs cat | wc -l }}
works in the command line, it needs to be adjusted to work within the Home Assistant Core Docker container.Inspired by Carlo.