# XiaoMi/ha_xiaomi_home SLOC report

> XiaoMi/ha_xiaomi_home: 27,433 code lines at commit 75b3acb6325a, counted with tokei-14.0.0 on 2026-10-20. Saved result ea55373b0d83f9591b7050b20b29f171a3e671d4b46cc9cb5b8188aefb493c04.

XiaoMi/ha_xiaomi_home has 27,433 source lines of code out of 30,826 total lines across 79 files, counted from the main ref at commit 75b3acb6325a by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving XiaoMi/ha_xiaomi_home to commit 75b3acb6325a, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 89.0% of all lines, comments represent 4.9%, and the repository averages 347 code lines per file. Python accounts for 60.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 37 | 18,944 | 16,614 | 744 | 1,586 |
| JSON | 30 | 8,085 | 8,085 | 0 | 0 |
| YAML | 4 | 2,656 | 2,656 | 0 | 0 |
| HTML | 1 | 65 | 58 | 4 | 3 |
| Shell | 1 | 35 | 20 | 9 | 6 |
| Markdown | 6 | 1,041 | 0 | 768 | 273 |

Top language (Python 60.6%). Generated at 2026-10-20T19:44:20.437620284Z. Canonical report: https://octocounts.com/github/XiaoMi/ha_xiaomi_home/commit/75b3acb6325a3a8d295688b13904737d6738a6a5?reportId=ea55373b0d83f9591b7050b20b29f171a3e671d4b46cc9cb5b8188aefb493c04&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/XiaoMi/ha_xiaomi_home/commit/75b3acb6325a3a8d295688b13904737d6738a6a5?reportId=ea55373b0d83f9591b7050b20b29f171a3e671d4b46cc9cb5b8188aefb493c04&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does XiaoMi/ha_xiaomi_home have?

XiaoMi/ha_xiaomi_home has 30,826 total lines, including 27,433 code lines, 1,525 comment lines, and 1,868 blank lines.

### How was the XiaoMi/ha_xiaomi_home line count measured?

OctoCounts resolved the public GitHub repository to commit 75b3acb6325a, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for XiaoMi/ha_xiaomi_home?

This OctoCounts report was generated from main at commit 75b3acb6325a on 2026-10-20T19:44:20.437620284Z.

## Similar repository reports

- [DyausG/operon](https://octocounts.com/github/DyausG/operon) — Python, 27,444 code lines
- [Agentic-Studio-Pvt-Ltd/agentic-codebase](https://octocounts.com/github/Agentic-Studio-Pvt-Ltd/agentic-codebase) — Python, 27,397 code lines
- [ygyang11/Arktor](https://octocounts.com/github/ygyang11/Arktor) — Python, 27,280 code lines
- [AgricIDaniel/claude-seo](https://octocounts.com/github/AgricIDaniel/claude-seo) — Python, 26,980 code lines
- [lij768423-svg/grok-register-panel](https://octocounts.com/github/lij768423-svg/grok-register-panel) — Python, 26,950 code lines
- [dortania/OpenCore-Legacy-Patcher](https://octocounts.com/github/dortania/OpenCore-Legacy-Patcher) — Python, 26,934 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
