:house: Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to :star: it. Updated FREQUENTLY!
This report presents the forensic synthetic code analysis of CCOSTAN/Home-AssistantConfig, a Python project with 5,269 GitHub stars. SynthScan v2.0 examined 36,990 lines of code across 264 source files, recording 747 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 53.9 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 747 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/recorder.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/recorder.yaml | 10 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/automations.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/automations.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/logger.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/logger.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/travis_secrets.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/travis_secrets.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/configuration.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/configuration.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/configuration.yaml | 36 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/configuration.yaml | 39 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/ui-lovelace.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/ui-lovelace.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/logbook.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/logbook.yaml | 10 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/light_groups.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/light_groups.yaml | 9 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/homekit.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/homekit.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/template/homeassistant/inverted_binary_sensor.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/template/homeassistant/inverted_binary_sensor.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/script/homeassistant/confirmable_notification.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nts/script/homeassistant/confirmable_notification.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ints/automation/homeassistant/notify_leaving_zone.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ints/automation/homeassistant/notify_leaving_zone.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/blueprints/automation/homeassistant/motion_light.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/blueprints/automation/homeassistant/motion_light.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/switches.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/switches.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/locks.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/locks.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/media_players.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/media_players.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/Indoor_Outdoor.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/Indoor_Outdoor.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/doors.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/doors.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/people.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/group/people.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/flash_notify.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/flash_notify.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/script/amp_settings.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | config/script/amp_settings.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/joanna_send_telegram.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/joanna_send_telegram.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/hvac_control.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/hvac_control.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/emergency.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/emergency.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/send_to_logbook.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/send_to_logbook.yaml | 9 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/roku_remote_finder_reset.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/roku_remote_finder_reset.yaml | 7 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/notify_engine.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/notify_engine.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/dog_bark.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/dog_bark.yaml | 8 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/monthly_color_scene.yaml | 5 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | config/script/monthly_color_scene.yaml | 9 | # ------------------------------------------------------------------- | COMMENT |
| 491 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/recorder.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/logger.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/ui-lovelace.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/logbook.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/light_groups.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/group/switches.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/group/locks.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/group/media_players.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/group/doors.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/flash_notify.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/amp_settings.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/joanna_send_telegram.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/emergency.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/notify_engine.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/notify_engine.yaml | 21 | # and provide the necessary data parameters: | COMMENT |
| LOW | config/script/dog_bark.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/monthly_color_scene.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/speech_processing.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/interior_off.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/joanna_dispatch.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/notify_live_activity.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/script/speech_engine.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/www/custom-sidebar-config.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/input_boolean/hidden_booleans.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/resources.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/bedroom/dashboard.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/bedroom/views/01_home.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/bedroom/partials/home_cards.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …nfig/dashboards/kiosk_satellite_staging/dashboard.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …/dashboards/kiosk_satellite_staging/views/01_home.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …ds/kiosk_satellite_staging/partials/home_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/infrastructure/dashboard.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …ig/dashboards/infrastructure/card_mod/infra_panel.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …fig/dashboards/infrastructure/card_mod/infra_card.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …oards/infrastructure/popups/docker_10_maintenance.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …oards/infrastructure/popups/docker_14_maintenance.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …oards/infrastructure/popups/docker_13_maintenance.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …oards/infrastructure/popups/docker_69_maintenance.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …oards/infrastructure/popups/docker_17_maintenance.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …ds/infrastructure/templates/button_card_templates.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …fig/dashboards/infrastructure/views/11_vacuum_map.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …fig/dashboards/infrastructure/views/10_sprinklers.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/infrastructure/views/04_wan.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …ig/dashboards/infrastructure/views/09_salt_trends.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …s/infrastructure/partials/website_health_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …shboards/infrastructure/partials/mariadb_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …ashboards/infrastructure/partials/joanna_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …dashboards/infrastructure/partials/kiosk_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …shboards/infrastructure/partials/network_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …ashboards/infrastructure/partials/vacuum_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …oards/infrastructure/partials/wan_detail_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …nfrastructure/partials/docker_containers_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …shboards/infrastructure/partials/proxmox_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …oards/infrastructure/partials/home_water_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …infrastructure/partials/docker_inventory_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | …/dashboards/infrastructure/partials/home_sections.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/overview/dashboard.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/overview/sections/30_cameras.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/overview/sections/20_comfort.yaml | 1 | ###################################################################### | COMMENT |
| LOW | config/dashboards/overview/sections/10_family.yaml | 1 | ###################################################################### | COMMENT |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/validate_dashboards.py | 351 | def collect_entity_references(self) -> set[str]: | CODE |
| LOW | tools/validate_dashboards.py | 392 | def repository_entity_catalog(root: Path) -> set[str]: | CODE |
| LOW | tools/validate_dashboards.py | 426 | def validate_entity_references(root: Path, references: set[str]) -> None: | CODE |
| LOW | tools/holiday_lighting_coverage.py | 119 | def _reject_duplicate_json_keys(pairs: list[tuple[str, object]]) -> dict[str, object]: | CODE |
| LOW | tools/holiday_lighting_coverage.py | 234 | def validate_routing_contract(package_path: Path, script_path: Path) -> None: | CODE |
| LOW | …nfig/custom_components/alexa_camera_compat/__init__.py | 36 | def _camera_stream_configurations( | CODE |
| LOW | …nfig/custom_components/alexa_camera_compat/__init__.py | 196 | async def async_initialize_camera_stream( | CODE |
| LOW⚡ | tests/test_holiday_lighting_coverage.py | 45 | def test_current_contract_passes(self) -> None: | CODE |
| LOW⚡ | tests/test_holiday_lighting_coverage.py | 52 | def test_inverted_scene_state_fails(self) -> None: | CODE |
| LOW⚡ | tests/test_holiday_lighting_coverage.py | 62 | def test_missing_required_year_fails(self) -> None: | CODE |
| LOW⚡ | tests/test_holiday_lighting_coverage.py | 72 | def test_wrong_static_holiday_name_fails(self) -> None: | CODE |
| LOW⚡ | tests/test_holiday_lighting_coverage.py | 82 | def test_invalid_unrelated_dynamic_date_fails(self) -> None: | CODE |
| LOW⚡ | tests/test_holiday_lighting_coverage.py | 92 | def test_scene_routing_typo_fails(self) -> None: | CODE |
| LOW⚡ | tests/test_validate_dashboards.py | 92 | def test_valid_fixture_builds_routes(self) -> None: | STRING |
| LOW⚡ | tests/test_validate_dashboards.py | 97 | def test_malformed_dashboard_yaml_fails(self) -> None: | STRING |
| LOW⚡ | tests/test_validate_dashboards.py | 103 | def test_missing_entrypoint_include_fails(self) -> None: | STRING |
| LOW⚡ | tests/test_validate_dashboards.py | 112 | def test_nonexistent_static_entity_fails(self) -> None: | STRING |
| LOW⚡ | tests/test_validate_dashboards.py | 121 | def test_commented_include_is_ignored(self) -> None: | STRING |
| LOW⚡ | tests/test_validate_dashboards.py | 130 | def test_duplicate_view_path_fails(self) -> None: | STRING |
| LOW⚡ | tests/test_validate_dashboards.py | 139 | def test_orphaned_dashboard_file_fails(self) -> None: | STRING |
| LOW⚡ | tests/test_validate_dashboards.py | 148 | def test_duplicate_yaml_key_fails(self) -> None: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | config/script/amp_settings.yaml | 14 | # Define the sequence of actions to be performed | COMMENT |
| MEDIUM | config/script/speech_engine.yaml | 27 | # Define the sequence of actions to be performed | COMMENT |
| MEDIUM⚡ | config/automation/work.yaml | 10 | # Define an alias for this automation | COMMENT |
| MEDIUM⚡ | config/automation/away.yaml | 10 | # Define an alias for this automation | COMMENT |
| MEDIUM⚡ | config/automation/guard_dog.yaml | 10 | # Define an alias for this automation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | config/dashboards/bedroom/dashboard.yaml | 7 | # Dedicated fixed-landscape event-driven view for the Bedroom Fire tablet. | COMMENT |
| MEDIUM | config/packages/README.md | 92 | - Logic lives in [![YAML source: climate](https://img.shields.io/static/v1?label=YAML&message=climate&color=lightgrey&lo | CODE |
| MEDIUM | config/packages/README.md | 113 | | [![YAML source: garadget](https://img.shields.io/static/v1?label=YAML&message=garadget&color=lightgrey&logo=github&log | CODE |
| MEDIUM | config/packages/climate.yaml | 224 | ### AUTOMATIONS - Thermostat schedules, guardrails, and presence/weather logic | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | config/packages/holiday.yaml | 56 | # Sensor Uses Flag data generated by AI | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/validate_dashboards.py | 4 | CODE | |
| LOW | tools/holiday_lighting_coverage.py | 4 | CODE | |
| LOW | config/shell_scripts/mariadb_snapshot.py | 4 | CODE | |
| LOW | tests/test_holiday_lighting_coverage.py | 1 | CODE | |
| LOW | tests/test_validate_dashboards.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/script/notify_engine.yaml | 19 | # Usage: | COMMENT |
| LOW⚡ | config/script/speech_engine.yaml | 12 | # Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/validate_dashboards.py | 351 | CODE | |
| LOW | tools/validate_dashboards.py | 361 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/travis_secrets.yaml | 19 | ssl_certificate: fake_key.pem | CODE |
| LOW | config/travis_secrets.yaml | 20 | ssl_key: fake_key.pem | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/packages/climate.yaml | 549 | # Set thermostats to eco mode when everyone is away | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/shell_scripts/mariadb_snapshot.py | 140 | except Exception as err: # pragma: no cover - runtime safety path | CODE |