Files
ha-template-migration/migrate_templates.sh
jessikitty ec2062872c Fix v2: Handle included files and list-item template format
Critical fixes for real-world HA configurations:
- Scans ALL .yaml files in /config/ and /config/packages/
- Handles "- platform: template" (list item with dash)
- Properly extracts sensors from "sensors:" blocks
- Handles multiline templates with > operator
- Correct indentation for modern template: format
- Counts sensors correctly from included files

This version will find all 67+ legacy template entities in typical HA setups.
2025-12-23 12:53:00 +11:00

14 KiB